summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo (SIGEV_EVENT -> SIGEV_KEVENT).Mark Peek2002-07-021-1/+1
| | | | Notes: svn path=/head/; revision=99282
* Make NI_WITHSCOPEID a default (always on), to synchronizeHajimu UMEMOTO2002-07-021-30/+20
| | | | | | | | | | with recent 2553bis. Obtained from: KAME MFC after: 3 weeks Notes: svn path=/head/; revision=99252
* Rename `CAVEAT' to `SECURITY CONSIDERATIONS' and move it up toChris Costello2002-07-011-10/+10
| | | | | | | | | | | the correct location--this section consists solely of security considerations information. Sponsored by: DARPA, NAI Labs Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=99214
* Use FBSDIDDavid E. O'Brien2002-06-3013-84/+32
| | | | Notes: svn path=/head/; revision=99116
* Use __FBSDID.David E. O'Brien2002-06-295-36/+9
| | | | Notes: svn path=/head/; revision=99018
* Add frexp(3).David E. O'Brien2002-06-292-2/+80
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=99017
* Fix style bugs I added in last commit.Mike Silbersack2002-06-271-4/+4
| | | | | | | Spotted by: bde Notes: svn path=/head/; revision=98910
* Remove pselect from application namespace and instead use a weak referenceDaniel Eischen2002-06-271-1/+3
| | | | | | | | | | to the actual implementation. This is to allow libc_r to override pselect() making it a cancellation point. Prompted by: wollman Notes: svn path=/head/; revision=98909
* Remove improper use of <namespace.h>.Daniel Eischen2002-06-271-6/+2
| | | | | | | Remove fmtcheck from application name space (fix the weak reference). Notes: svn path=/head/; revision=98908
* Remove improper use of <namespace.h>Daniel Eischen2002-06-271-1/+0
| | | | Notes: svn path=/head/; revision=98907
* Modify bcopy (and memcpy/memmove) so that the length value is notMike Silbersack2002-06-271-2/+4
| | | | | | | | | | | re-read from the stack mid copy. This may help mitigate the recent Apache buffer overrun and future overruns of the sort. Reviewed by: jdp MFC after: 2 days Notes: svn path=/head/; revision=98899
* Remove two lines that were cvs merged that shouldn't have been. ThisWarner Losh2002-06-261-2/+0
| | | | | | | | | fixes the build. Reported by: dillon. Notes: svn path=/head/; revision=98887
* Remove two stray lines that snuck in the cvs mergeWarner Losh2002-06-262-2/+0
| | | | Notes: svn path=/head/; revision=98877
* Initialize a pointer that was left uninitialized with the previousJacques Vidrine2002-06-261-0/+1
| | | | | | | commit. Notes: svn path=/head/; revision=98872
* Include more robust checking of end of buffer that more completelyWarner Losh2002-06-264-52/+32
| | | | | | | plugs the hole. Notes: svn path=/head/; revision=98865
* Don't allow buffer overflow here either.Warner Losh2002-06-261-1/+3
| | | | Notes: svn path=/head/; revision=98860
* Fix a minor last, minute issue that came in after I committed.Warner Losh2002-06-261-1/+1
| | | | | | | Noticed by: nectar Notes: svn path=/head/; revision=98858
* Avoid remote buffer overflow on hostbuf[].Warner Losh2002-06-262-1/+4
| | | | | | | Submitted by: joost Pol <joost@pine.nl> Notes: svn path=/head/; revision=98855
* Fix style and wording bugs introduced in my last commit.Chris Costello2002-06-181-11/+9
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=98392
* Remove unneeded include of machine/emul.h.Jake Burkholder2002-06-181-1/+0
| | | | Notes: svn path=/head/; revision=98373
* Actually document pselect(3) so that Bruce can mention it in the releaseGarrett Wollman2002-06-172-1/+123
| | | | | | | notes. :-) Notes: svn path=/head/; revision=98315
* Move dillon's time conversion functions to a new header <timeconv.h>.Garrett Wollman2002-06-171-1/+1
| | | | | | | | | Since they were never documented and have never appeared in a FreeBSD release, no repo-copy of the header is done. This removes namespace pollution from <time.h>. Notes: svn path=/head/; revision=98313
* Add pselect(3) to the build. Need to figure out the most appropriateGarrett Wollman2002-06-151-1/+1
| | | | | | | way to document this interface. Notes: svn path=/head/; revision=98273
* o Move more information from BUGS into SECURITY CONSIDERATIONS andChris Costello2002-06-151-50/+56
| | | | | | | | | | | condense the redundant bits. o Provide an example for using snprintf over sprintf. This may be supplemented with an asprintf() example soon. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=98241
* No POSIX.1e capabilities in the main tree yet.Robert Watson2002-06-1329-2995/+0
| | | | Notes: svn path=/head/; revision=98196
* Include information on the dangers of passing a user-supplied string asChris Costello2002-06-131-0/+21
| | | | | | | | | | | a format string. This will later on be changed to a reference to the FreeBSD Security Architecture after it has been committed. PR: docs/39320 Sposnored by: DARPA, NAI Labs Notes: svn path=/head/; revision=98194
* Clarify the bit about realloc() and its `ptr' argument a bit.Giorgos Keramidas2002-06-061-2/+3
| | | | | | | | | | | Hopefully, now it is more clear that the memory referenced by the ptr argument of realloc(ptr,size) is freed and only the return value of realloc() points to a valid memory area upon successful completion. Submitted by: Martin Faxer <gmh003532@brfmasthugget.se> Notes: svn path=/head/; revision=97967
* Correct FreeBSD release of first appearance in the HISTORY sectionSheldon Hearn2002-06-061-1/+1
| | | | | | | (5.0 -> 4.6). Notes: svn path=/head/; revision=97924
* Implement _Qp_sqrt. I've been unable to find a C program that gcc generatesJake Burkholder2002-06-041-0/+14
| | | | | | | a call to this for, but apparently somehing in libstdc++ does. Notes: svn path=/head/; revision=97823
* Fix typo in the BSD copyright: s/withough/without/Jens Schweikhardt2002-06-0213-13/+13
| | | | | | | | Spotted and suggested by: des MFC after: 3 weeks Notes: svn path=/head/; revision=97748
* Correct a bunch of typos. Translators can ignore this commit.Jens Schweikhardt2002-06-021-8/+8
| | | | | | | MFC after: 3 weeks Notes: svn path=/head/; revision=97734
* Add mdoc bits for the new waitpid() WCONTINUED option, andMike Barcroft2002-06-011-0/+12
| | | | | | | WIFCONTINUED macro. Notes: svn path=/head/; revision=97715
* Grammar nit: treat "contents" as plural.Archie Cobbs2002-05-311-1/+1
| | | | Notes: svn path=/head/; revision=97682
* Grammar fix: "contents" is plural.Archie Cobbs2002-05-311-2/+2
| | | | | | | MFC after: 1 day Notes: svn path=/head/; revision=97651
* Const poison.Poul-Henning Kamp2002-05-301-3/+5
| | | | | | | Partially submitted by: wollman Notes: svn path=/head/; revision=97639
* mdoc(7) police: kill hard sentence break.Ruslan Ermilov2002-05-301-4/+4
| | | | Notes: svn path=/head/; revision=97584
* mdoc(7) police: markup nits.Ruslan Ermilov2002-05-301-43/+53
| | | | Notes: svn path=/head/; revision=97570
* Check for defined(__i386__) instead of just defined(i386) since the compilerAlfred Perlstein2002-05-301-1/+1
| | | | | | | will be updated to only define(__i386__) for ANSI cleanliness. Notes: svn path=/head/; revision=97551
* Since POSIX gives us plenary authority to define _t types, changeGarrett Wollman2002-05-292-3/+3
| | | | | | | | | | __dlfunc_t to dlfunc_t to match what I have proposed to the Austin Group. (This also makes it easier for applications to store these values before they decide what to do with them, e.g., in a wrapper function.) Notes: svn path=/head/; revision=97509
* Add link dlopen(3) -> dlfunc(3).Garrett Wollman2002-05-291-1/+2
| | | | | | | Reminded by: mike Notes: svn path=/head/; revision=97490
* Reorganize dlfcn.h slightly to separate out XSI and BSD interfaces.Garrett Wollman2002-05-293-6/+61
| | | | | | | | | | | Add new dlfunc() interface, which is a version of dlsym() with a return type that can be cast to a function pointer without turning your computer into a frog. Reviewed by: freebsd-standards Notes: svn path=/head/; revision=97475
* mdoc(7) police: markup nits.Ruslan Ermilov2002-05-291-10/+17
| | | | Notes: svn path=/head/; revision=97470
* mdoc(7) police: bump document date on behalf of previous delta.Ruslan Ermilov2002-05-291-1/+1
| | | | Notes: svn path=/head/; revision=97469
* mdoc(7) police: sort xrefs.Ruslan Ermilov2002-05-291-2/+2
| | | | Notes: svn path=/head/; revision=97468
* mdoc(7) police: nit.Ruslan Ermilov2002-05-291-1/+1
| | | | Notes: svn path=/head/; revision=97467
* mdoc(7) police: fix markup for types.Ruslan Ermilov2002-05-291-4/+4
| | | | Notes: svn path=/head/; revision=97466
* Remove use of __P() (actually P()) from code now that it's no longerAlfred Perlstein2002-05-282-42/+42
| | | | | | | available. Notes: svn path=/head/; revision=97423
* Assume __STDC__, remove non-__STDC__ code.Alfred Perlstein2002-05-2830-343/+4
| | | | | | | Submitted by: keramida Notes: svn path=/head/; revision=97407
* Add uuidgen(2) and uuidgen(1).Marcel Moolenaar2002-05-282-1/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The uuidgen command, by means of the uuidgen syscall, generates one or more Universally Unique Identifiers compatible with OSF/DCE 1.1 version 1 UUIDs. From the Perforce logs (change 11995): Round of cleanups: o Give uuidgen() the correct prototype in syscalls.master o Define struct uuid according to DCE 1.1 in sys/uuid.h o Use struct uuid instead of uuid_t. The latter is defined in sys/uuid.h but should not be used in kernel land. o Add snprintf_uuid(), printf_uuid() and sbuf_printf_uuid() to kern_uuid.c for use in the kernel (currently geom_gpt.c). o Rename the non-standard struct uuid in kern/kern_uuid.c to struct uuid_private and give it a slightly better definition for better byte-order handling. See below. o In sys/gpt.h, fix the broken uuid definitions to match the now compliant struct uuid definition. See below. o In usr.bin/uuidgen/uuidgen.c catch up with struct uuid change. A note about byte-order: The standard failed to provide a non-conflicting and unambiguous definition for the binary representation. My initial implementation always wrote the timestamp as a 64-bit little-endian (2s-complement) integral. The clock sequence was always written as a 16-bit big-endian (2s-complement) integral. After a good nights sleep and couple of Pan Galactic Gargle Blasters (not necessarily in that order :-) I reread the spec and came to the conclusion that the time fields are always written in the native by order, provided the the low, mid and hi chopping still occurs. The spec mentions that you "might need to swap bytes if you talk to a machine that has a different byte-order". The clock sequence is always written in big-endian order (as is the IEEE 802 address) because its division is resulting in bytes, making the ordering unambiguous. Notes: svn path=/head/; revision=97372
* Correct a check for NUL.Robert Drehmel2002-05-271-1/+1
| | | | | | | Spotted by: bde Notes: svn path=/head/; revision=97357