summaryrefslogtreecommitdiff
path: root/src/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* by popular demand, malloc guard pages. insert an unreadable/unwriteabletedu2003-10-162-5/+52
| | | | | | | | page after each page size allocation to detect overrun. this is somewhat electric fence like, while attempting to be mostly usable in production. also, use tdeval's chunk randomization code. enabled with the G option. ok deraadt and co.
* abort on errors by default. workaround so running out of memory isn'ttedu2003-10-151-3/+3
| | | | | actually an error, A still applies full effect. suggested by phk. ok deraadt@ tdeval@
* ANSIfication; most from Patrick Latifimillert2003-10-061-72/+39
| | | | OK deraadt@
* Fix off-by-one, patch from Patrick Latifi; closes PR 3492millert2003-10-031-5/+5
|
* two minor fixes. set errno on recursive calls. ENOMEM suggested by marc@.tedu2003-10-021-4/+7
| | | | | lock before setting malloc_func, not after. ok cloder@ deraadt@
* updates and corrections to the references in SEE ALSO;jmc2003-10-011-7/+11
| | | | mostly from tjr@freebsd's rev. 1.14 commit.
* full stop. reverse course. remove all periods, so as to be alignedtedu2003-09-301-40/+40
| | | | with error messages elsewhere. requested ok deraadt@ henning@
* remove register. end all sentences with periods.tedu2003-09-271-16/+16
| | | | ok deraadt@ henning@ millert@
* put 64bit macros/functions documentation back.fgsch2003-09-261-3/+20
|
* No need to include non-standard machine/endian.h header sincemillert2003-09-261-3/+13
| | | | | sys/types does that for us. Add a STANDARDS section that says what is and is not standard. OK fgsch@
* fix buffer size; leonard+gnats@itee.uq.edu.auderaadt2003-09-261-12/+7
|
* It is safe to pass free() a NULL pointer since C89; update example tomillert2003-09-261-3/+2
| | | | this effect. OK deraadt@ pvalchev@
* Do check for current pointer vs. buffer end before touching anymillert2003-09-252-7/+7
| | | | | elements in the buffer. Fixes an out of bounds access. From aaron@; OK deraadt@
* improve example even morederaadt2003-09-251-3/+4
|
* Document the optional argument support and as well as where we differ frommillert2003-09-221-32/+83
| | | | POSIX and/or GNU. deraadt@ and jmc@ OK
* If permutation is disabled (as it is via getopt(3) or when POSIXLY_CORRECTmillert2003-09-221-2/+9
| | | | | | is set), we can accept an optional arg separated by whitespace. Previously, the optional arg needed to be adjacent to the option character. deraadt@ OK
* revert for now.fgsch2003-09-211-20/+3
|
* document and declare 64-bit function/macros. ok millert@ deraadt@fgsch2003-09-211-3/+20
|
* expand on the realloc no-no section to include adjusting a length beforetedu2003-09-181-6/+12
| | | | the allocation. ok deraadt@ markus@
* typos from wiz@netbsd (including one from a PR from Quentin Garnier);jmc2003-09-181-10/+14
| | | | | | slight sync with NetBSD page; ok millert@
* update RFCs (from NetBSD);jmc2003-09-091-3/+13
| | | | | | inet_makeaddr() uses in_addr_t types, not unsigned long. ok itojun@
* typo; ianm@cit.uws.edu.auderaadt2003-09-081-2/+2
|
* typos from Brian Poole;jmc2003-09-072-6/+6
| | | | ok deraadt@
* standards compliant strxfrm. much simpler too. fixes sorting in glib2.tedu2003-09-061-16/+4
| | | | ok deraadt@ espie@ marcm@
* escape punctuation;jmc2003-09-023-8/+8
| | | | ok deraadt@
* wording improvement from Michael Knudsen;jmc2003-08-281-2/+2
|
* tweak;jmc2003-08-281-10/+10
| | | | ok itojun@
* better formatting. from wiz@netbsditojun2003-08-281-4/+4
|
* use NI_NUMERICHOST for 2nd invocationitojun2003-08-281-2/+2
|
* add int error in CAVEATitojun2003-08-281-1/+2
|
* add CAVEATS sectionitojun2003-08-281-1/+55
|
* just use sysctl for stirring. thread safe and can't fail.tedu2003-08-161-23/+10
| | | | ok deraadt and co.
* Split crypto routine sup again, but differently. This should make thederaadt2003-08-123-84/+149
| | | | mail floppy parts a fair bit smaller.
* refer to RFCs consistently (RFC XXXX);jmc2003-08-087-37/+37
|
* unsplice crypt.c and morecrypt.c; start to document some bcrypt and md5cryptderaadt2003-08-074-658/+67
| | | | things in crypt.3, and create MLINKS
* ansideraadt2003-08-072-18/+8
|
* ansify function argumentsjfb2003-08-041-34/+16
| | | | ok tdeval@
* Rename rootd to needslash and invert its value. This fixes the checkmillert2003-08-011-6/+6
| | | | | for ENAMETOOLONG, though since we use strlcpy() and strlcat() this is not a big deal. Problem found by vincent@
* fix a protoderaadt2003-07-311-2/+2
|
* sync struct addrinfo with what's in <netdb.h>;jmc2003-07-271-11/+11
| | | | ok itojun@
* warn about unsafe APIs at link time. Conditional on libc/Makefile definingderaadt2003-07-242-8/+14
| | | | | APIWARN; disabled by default. In use by many developers for quite some time, now they have a common knob to enable/disable this
* bug library/3297: lib/libc/net/get{addr,name}info should share mutexmarc2003-07-212-4/+9
| | | | 'Looks right' deraadt@
* Compile llabs.cmillert2003-07-211-1/+2
|
* llabs(3) for C99millert2003-07-212-6/+59
|
* - just warn in case of mmap/brk failuretdeval2003-07-191-5/+5
| | | | | | - extend_pgdir and malloc_make_chunks return int, not void* ok tedu@
* add missing includesdavid2003-07-181-2/+3
| | | | ok tedu@
* Fix two cases where malloc() returns NULL but does not set errno to ENOMEM.otto2003-07-131-2/+5
| | | | ok tdeval@ henning@ millert@
* license oops; from teduderaadt2003-07-111-1/+4
|
* Mention environment variables used + some other minor fixes.millert2003-06-301-5/+31
| | | | jmc@ and henning@ OK
* ensure we stay within the boundaries of our packetvincent2003-06-271-10/+15
| | | | ok itojun