summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Fix style bugs I added in last commit.silby2002-06-271-4/+4
| | | | Spotted by: bde
* Remove pselect from application namespace and instead use a weak referencedeischen2002-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
* Remove improper use of <namespace.h>.deischen2002-06-271-6/+2
| | | | Remove fmtcheck from application name space (fix the weak reference).
* Remove improper use of <namespace.h>deischen2002-06-271-1/+0
|
* Modify bcopy (and memcpy/memmove) so that the length value is notsilby2002-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
* Remove two lines that were cvs merged that shouldn't have been. Thisimp2002-06-261-2/+0
| | | | | | fixes the build. Reported by: dillon.
* Remove two stray lines that snuck in the cvs mergeimp2002-06-262-2/+0
|
* Initialize a pointer that was left uninitialized with the previousnectar2002-06-261-0/+1
| | | | commit.
* Include more robust checking of end of buffer that more completelyimp2002-06-264-52/+32
| | | | plugs the hole.
* Don't allow buffer overflow here either.imp2002-06-261-1/+3
|
* Fix a minor last, minute issue that came in after I committed.imp2002-06-261-1/+1
| | | | Noticed by: nectar
* Avoid remote buffer overflow on hostbuf[].imp2002-06-262-1/+4
| | | | Submitted by: joost Pol <joost@pine.nl>
* Fix style and wording bugs introduced in my last commit.chris2002-06-181-11/+9
| | | | Sponsored by: DARPA, NAI Labs
* Remove unneeded include of machine/emul.h.jake2002-06-181-1/+0
|
* Actually document pselect(3) so that Bruce can mention it in the releasewollman2002-06-172-1/+123
| | | | notes. :-)
* Move dillon's time conversion functions to a new header <timeconv.h>.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>.
* Add pselect(3) to the build. Need to figure out the most appropriatewollman2002-06-151-1/+1
| | | | way to document this interface.
* o Move more information from BUGS into SECURITY CONSIDERATIONS andchris2002-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
* No POSIX.1e capabilities in the main tree yet.rwatson2002-06-1329-2995/+0
|
* Include information on the dangers of passing a user-supplied string aschris2002-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
* Clarify the bit about realloc() and its `ptr' argument a bit.keramida2002-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>
* Correct FreeBSD release of first appearance in the HISTORY sectionsheldonh2002-06-061-1/+1
| | | | (5.0 -> 4.6).
* Implement _Qp_sqrt. I've been unable to find a C program that gcc generatesjake2002-06-041-0/+14
| | | | a call to this for, but apparently somehing in libstdc++ does.
* Fix typo in the BSD copyright: s/withough/without/schweikh2002-06-0213-13/+13
| | | | | Spotted and suggested by: des MFC after: 3 weeks
* Correct a bunch of typos. Translators can ignore this commit.schweikh2002-06-021-8/+8
| | | | MFC after: 3 weeks
* Add mdoc bits for the new waitpid() WCONTINUED option, andmike2002-06-011-0/+12
| | | | WIFCONTINUED macro.
* Grammar nit: treat "contents" as plural.archie2002-05-311-1/+1
|
* Grammar fix: "contents" is plural.archie2002-05-311-2/+2
| | | | MFC after: 1 day
* Const poison.phk2002-05-301-3/+5
| | | | Partially submitted by: wollman
* mdoc(7) police: kill hard sentence break.ru2002-05-301-4/+4
|
* mdoc(7) police: markup nits.ru2002-05-301-43/+53
|
* Check for defined(__i386__) instead of just defined(i386) since the compileralfred2002-05-301-1/+1
| | | | will be updated to only define(__i386__) for ANSI cleanliness.
* Since POSIX gives us plenary authority to define _t types, changewollman2002-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.)
* Add link dlopen(3) -> dlfunc(3).wollman2002-05-291-1/+2
| | | | Reminded by: mike
* Reorganize dlfcn.h slightly to separate out XSI and BSD interfaces.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
* mdoc(7) police: markup nits.ru2002-05-291-10/+17
|
* mdoc(7) police: bump document date on behalf of previous delta.ru2002-05-291-1/+1
|
* mdoc(7) police: sort xrefs.ru2002-05-291-2/+2
|
* mdoc(7) police: nit.ru2002-05-291-1/+1
|
* mdoc(7) police: fix markup for types.ru2002-05-291-4/+4
|
* Remove use of __P() (actually P()) from code now that it's no longeralfred2002-05-282-42/+42
| | | | available.
* Assume __STDC__, remove non-__STDC__ code.alfred2002-05-2830-343/+4
| | | | Submitted by: keramida
* Add uuidgen(2) and uuidgen(1).marcel2002-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.
* Correct a check for NUL.robert2002-05-271-1/+1
| | | | Spotted by: bde
* - Move the loop conditional into the "for" header.robert2002-05-271-19/+17
| | | | | | | | - Remove redundant "? :" construct. style(9): - Place a space after return statements. - Compare pointers to NULL. - Do not use ! to compare a character to nul.
* Remove spurious period.dd2002-05-271-1/+1
|
* Remove extra word.dd2002-05-261-1/+1
| | | | Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
* These files are no longer used.jake2002-05-2411-196/+0
|
* Generate the normal asm stubs for all sysv system calls. Use these insteadjake2002-05-237-33/+18
| | | | | | | of C wrappers for the *sys indirect system calls. The indirect system calls are horribly broken on sparc64. Submitted by: tmm
* Avoid wandering over the beginning of the actual bufferrobert2002-05-231-1/+1
| | | | | | | if the passed template string contains only 'X' characters. Submitted by: Mark Andrews <marka@isc.org> (patch modified) PR: 38402
OpenPOWER on IntegriCloud