summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
Commit message (Collapse)AuthorAgeFilesLines
* Remove some stray roff formatting that caused incorrect rendering.jasone2007-03-281-1/+0
|
* Don't assert() the TLS allocation requested is big enough; justkientzle2007-02-251-2/+2
| | | | | | fix the argument. In particular, this is a step towards breaking crt1's dependence on stdio.
* o s/cgetseq/cgetset/maxim2007-02-111-1/+1
| | | | Obtained from: DragonFly
* Remove getobjformat() from libc's symbol map. It probably should have beenpeter2007-01-251-1/+0
| | | | in the private area anyway. Nothing in FreeBSD uses it any more anyway.
* Retire more remnants of a.out support, as threatened in 2002.peter2007-01-253-182/+2
| | | | Laughed-at-by: kris
* o Remove duplicate includes.maxim2007-01-201-1/+0
| | | | Obtained from: Slava Semushin via NetBSD
* Remove 3rd clause, renumber, ok per emailimp2007-01-121-4/+1
|
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-09151-603/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* band-aide until _SC_PHYS_PAGES actually is definedimp2006-12-141-0/+2
|
* Add support for _SC_PHYS_PAGES, which is not standard, but can be found inpjd2006-12-142-1/+27
| | | | Solaris and Linux.
* Document _SC_PAGESIZE. There are still 85 undocumented variables.pjd2006-12-141-1/+3
| | | | Obtained from: NetBSD
* Minor clarification.dds2006-12-031-1/+1
|
* o As POSIX requires confstr(3) returns zero on errors, not -1.maxim2006-12-031-2/+2
| | | | | | PR: misc/106234 Submitted by: Guy Harris MFC after: 1 week
* More accurately document the implementation details of internal storage.ru2006-10-122-21/+23
| | | | PR: docs/82508
* Document what "msgsz" argument really denotes. [1]ru2006-10-121-4/+9
| | | | | | | | Don't say that "msgsz" can be less than 0, it cannot as it's unsigned (POSIX has the same bug). PR: docs/101145 [1] MFC after: 3 days
* Fix TLS on sparc64 for statically and dynamically linked binarieskmacy2006-10-081-1/+10
| | | | | Approved by: rwatson (mentor) Reviewed by: jmg and marcel
* getenv.3: Put "is" on a line with other wordstrhodes2006-10-071-1/+2
| | | | | | | | getobjformat.3: "takes precedence over" is not an envrionment variable. PR: 75545 Submitted by: n-kogane@syd.odn.ne.jp MFC after: 3 days
* Automatically re-stir every 400000 callsache2006-10-041-2/+4
| | | | Obtained from: OpenBSD
* Markup nit.ru2006-09-291-1/+1
|
* o Don't fseek() on closed file.maxim2006-09-181-2/+2
| | | | | Submitted by: pgollucci@p6m7g8.com, Mark Costlow MFC after: 3 weeks
* Markup fixes.ru2006-09-172-2/+2
|
* Fix style(9) in code copied from rtld.marcel2006-09-011-3/+3
|
* Fix the variant I allocation for KSE: Allow a larger TCB and assumemarcel2006-09-011-46/+37
| | | | | that the documented TCB is at the tail of the extended TCB. In other words, the base of the TCB has a negative offset from the TLS.
* o It speaks about struct msqid_ds not struct shmid_ds.maxim2006-08-091-1/+1
| | | | | | PR: docs/101314 Submitted by: Vasil Dimov MFC after: 1 week
* Return length from fwopen() file callback instead of zero.phk2006-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | The symptom is that syslog() fails to log anything but the "ident" string if LOG_PERROR is specified to openlog(3) and the extensible printf is in action. For unclear, likely quaint historical reasons, syslog uses fwopen() on a stack buffer, rather than using the more straightforward and faster snprintf(). Along the way, fflush(3) is called, and since the callback writer function returns zero instead of the length "written", __SERR naturally gets set on the filedescriptor. The extensible printf, in difference from the normal printf refuses to output anything to an __SERR marked filedescriptor, and thus the actual syslog message is supressed. MFC: after 2 weeks
* Remove stale comment about armimp2006-07-261-2/+0
|
* o compat_group() and files_group() are more complicated than I thoughtmaxim2006-07-141-4/+6
| | | | | | | | | | | | | | | | in rev. 1.34. Mainly I missed the fact that the buffer is used for two purposes: 1) storing a group line from the group file; 2) __gr_parse_entry() parses the buffer and tries to put the group members to the remaining part of the buffer and can fail if there is no enough room for them. Re-arrange the buffer size checks to account the latter case. Submitted by: Kirk R Webb MFC after: 2 weeks
* - ANSIfy.delphij2006-06-051-69/+26
| | | | | | - Remove two unnecessary casts. These changes would help gcc4 compile.
* o Record a file offset for a last successfully parsed group file line.maxim2006-06-011-0/+8
| | | | | | | | | | | If the initial buffer size (1KB) for the given group line is not big enough, reset the offset. It helps to do not miss this line when getrg() reallocates the larger buffer and tries to parse the line again. PR: bin/52433, kern/55031, bin/83696, misc/97640, misc/98111 Submitted by: bsw71@mail.ru, Philip M. Gollucci, Justin Erenkrantz Glanced at: nectar MFC after: 1 month
* Fix the output.ru2006-05-271-0/+1
| | | | Noticed by: rodrigc
* Reflect int -> size_t changes in glob.hache2006-05-221-3/+3
|
* Reflect size_t changes in glob.hache2006-05-221-22/+23
| | | | Obtained from: NetBSD (mostly)
* Remove the kludge, as asked in the Makefile:ache2006-05-221-3/+0
| | | | | | # If you bump SHLIB_MAJOR, remove the kluge from gen/gethostname.c. Reviewed by: ume
* Save errno before calling pthread_mutex_lock because pthread_mutex_lockdavidxu2006-05-111-2/+2
| | | | may change errno unexpectly.
* - Extend the nsswitch to support Services, Protocols and Rpcume2006-04-282-1/+554
| | | | | | | | databases. - Make nsswitch support caching. Submitted by: Michael Bushkov <bushman__at__rsu.ru> Sponsored by: Google Summer of Code 2005
* Correct usage example.ceri2006-04-181-1/+1
| | | | | | PR: docs/95059 Submitted by: Jos Backus MFC after: 4 days
* Document that VIS_CSTYLE encodes space (040) as '\s'.brueffer2006-04-091-1/+3
| | | | | | PR: 95546 Submitted by: Jan Schaumann <jschauma@netmeister.org> MFC after: 3 days
* Allocate space for thread pointer, this allows thread library to accessdavidxu2006-03-281-3/+3
| | | | its pointer from begin, and simplifies _get_curthread() in libthr.
* Make _spinunlock() point to the spinunlock stub, not thedeischen2006-03-131-1/+1
| | | | spinlock stub.
* Add each directory's symbol map file to SYM_MAPS.deischen2006-03-131-0/+2
|
* Add symbol maps and initial symbol version definitions to libc.deischen2006-03-131-0/+446
| | | | Reviewed by: davidxu
* Add some more pthread stubs so that librt can use them.deischen2006-03-051-28/+105
| | | | | | | The thread jump table has been resorted, so you need to keep libc, libpthread, and libthr in sync. Submitted by: xu
* Remove debug printf.pjd2006-01-261-1/+0
|
* Make getttyent() report what the pts ptys as well.cognet2006-01-261-1/+38
|
* Use posix_memalign() in valloc() rather than making assumptions aboutjasone2006-01-122-20/+20
| | | | | | the alignment of malloc()ed memory. Approved by: markm (mentor)
* Implement ELF symbol versioning using GNU semantics. This code aimskan2005-12-181-0/+9
| | | | | | | | | to be compatible with symbol versioning support as implemented by GNU libc and documented by http://people.redhat.com/~drepper/symbol-versioning and LSB 3.0. Implement dlvsym() function to allow lookups for a specific version of a given symbol.
* Make our ELF64 type definitions match standards. In particular thismarcel2005-12-181-3/+3
| | | | | | | | | | | | | means: o Remove Elf64_Quarter, o Redefine Elf64_Half to be 16-bit, o Redefine Elf64_Word to be 32-bit, o Add Elf64_Xword and Elf64_Sxword for 64-bit entities, o Use Elf_Size in MI code to abstract the difference between Elf32_Word and Elf64_Word. o Add Elf_Ssize as the signed counterpart of Elf_Size. MFC after: 2 weeks
* Switch BUILD_ARCH in Makefile to use uname -p suggested by ru.ambrisko2005-12-033-6/+42
| | | | | | | | | | | | | | Switch strncpy to strlcpy suggested by gad and issue found by pjd. Add to uname(3) man page describing: UNAME_s UNAME_r UNAME_v UNAME_m Add to getosreldate(3) man page describing: OSVERSION Submitted by: ru, pjd/gad Reviewed by: ru (man pages)
* Unbreak build when I fluff the clean-up of __FBSDID diff reductionambrisko2005-12-021-0/+2
| | | | | | before commit. pointyhat++
* Add support to easily build FreeBSD unpacked in a chroot of anotherambrisko2005-12-022-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | FreeBSD machine. To do this add the man 1 uname changes to __xuname.c so we can override the settings it reports. Add OSVERSION override to getosreldate. Finally which Makefile.inc1 to use uname -m instead of sysctl -n hw.machine_arch to get the arch. type. With these change you can put a complete FreeBSD OS image into a chroot set: UNAME_s=FreeBSD UNAME_r=4.7-RELEASE UNAME_v="FreeBSD $UNAME_r #1: Fri Jul 22 20:32:52 PDT 2005 fake@fake:/usr/obj/usr/src/sys/FAKE" UNAME_m=i386 UNAME_p=i386 OSVERSION=470000 on an amd64 or i386 and it just work including building ports and using pkg_add -r etc. The caveat for this example is that these patches have to be applied to FreeBSD 4.7 and the uname(1) changes need to be merged. This also addresses issue with libtool. This is usefull for when a build machine has been trashed for an old release and we want to do a build on a new machine that FreeBSD 4.7 won't run on ...
OpenPOWER on IntegriCloud