summaryrefslogtreecommitdiff
path: root/src/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 'F'reeguard doc, as reported missing by brad. nit free thanks to jmctedu2004-02-021-1/+8
|
* Add const type qualifier. ok jmc@nordin2004-02-012-4/+4
|
* s/arm32/arm/ with VFP bit to match netbsd.drahn2004-02-011-3/+3
|
* the rest of the libs stuff; from art@ againmickey2004-01-281-2/+3
|
* use new .St macro;jmc2004-01-253-5/+5
|
* `Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))jmc2004-01-235-10/+10
| | | | discussed with todd@
* Call _exit() not exit() from abort() if we are unable to kill ourselvesmillert2004-01-201-3/+3
| | | | | to avoid flushing stdio twice. This code path should never really happen though. Also make the function declaration ANSI. OK deraadt@
* Fix the example code. The loop invariant 'i' was not bound by MAXTOKENSmillert2004-01-201-3/+3
| | | | | which could result in writing a NUL byte outside of tokens[]. A fix, from Patrick Latifi, is to move the increment into the "i < MAXTOKENS - 1" block.
* - Rename index to longindex and explain its use.fgsch2004-01-061-9/+20
| | | | | | | | - Talk about zeroing the last element of the longopts array. - Remove '?' from the switch and some KNF to the code. - Change 0's to NULL where appropriate. jmc@ ok.
* sync protos with <netdb.h>;jmc2003-12-301-3/+3
| | | | from Andrey Matveev;
* niels kindly dropped clause 3/4 from the license. tnx!itojun2003-12-121-6/+1
|
* we can skip arc4random() call here. markusitojun2003-12-121-2/+2
|
* correct non-repetitive ID code, based on comments from niels provos.itojun2003-12-101-12/+16
| | | | | | - seed2 is necessary, but use it as "seed2 + x" not "seed2 ^ x". - skipping number is not needed, so disable it for 16bit generator (makes the repetition period to 30000)
* Discard first 256 bytes of keystream, as per recommendation indjm2003-11-261-1/+10
| | | | | "Weaknesses in the Key Scheduling Algorithm of RC4", Fluhrer, Mantin and Shamir. ok itojun@
* wording improvements from Brian Poole;jmc2003-11-251-5/+4
| | | | kill a .Pp before a display;
* only whine about recursion once, so we don't get into problems with loops.tedu2003-11-191-19/+26
|
* 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
|