summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* report extra PTR records as aliaseseric2014-02-171-3/+2
|
* remove redundant testtedu2014-02-171-3/+2
|
* sticking strlen into a char leads to wraparound at 256. fix this andtedu2014-02-171-5/+18
| | | | | | introduce a new 'b' hash minor. still generate 'a' minors for now. reported by solar designer. diff by some combination of solar and jca. ok deraadt
* Fix logic bug; we can only infer tm_yday if both tm_mday and tm_monmillert2014-02-131-2/+2
| | | | are set. Adapted from a diff from David Higgs. OK krw@
* Don't use use .Tn with AND/OR/NOTguenther2014-02-1314-94/+55
| | | | | | | | Phrase any "The _flags_ argument is the ..." line consistently, eliminating unnecessary use of 'inclusive' and saying "zero or more" or "one or more" as appropriate ok millert@ jmc@ schwarze@
* use .At to refer to System V.1; from Jan Stary <hans at stare dot cz>schwarze2014-02-124-12/+16
|
* avoid pointless TAB outside literal context;schwarze2014-02-111-3/+3
| | | | from Jan Stary <hans at stare dot cz>
* Fix inet6_opt_init() to only check extlen when extbuff is not NULLmpi2014-02-071-5/+2
| | | | | | as per RFC 3542, from DragonFlyBSD via Eitan Adler. ok bluhm@
* Remove unnecessary stdio.h include.stsp2014-02-051-2/+1
| | | | Patch by Jean-Philippe Ouellet ; ok krw@
* Always set errno when returning NULL. OK kettenis@ henning@millert2014-02-051-7/+17
|
* e.g. not i.e.jmc2014-01-291-3/+3
| | | | From: Ross L Richardson
* appeared in 5.2. from Donovan Watteautedu2014-01-261-3/+3
|
* Update C standard reference to C99 and document HISTORY and AUTHORS;schwarze2014-01-241-5/+24
| | | | using input from millert@, reminded by and ok jmc@
* also document that ctime* and asctime* can return NULL; ok deraadt@, millert@otto2014-01-231-2/+6
|
* Use consistent phrasing for bitmask flags.guenther2014-01-223-15/+18
| | | | tweaking and ok millert@ jmc@
* add explicit_bzero to NAME;jmc2014-01-221-2/+3
|
* minor++tedu2014-01-221-1/+1
|
* add explicit_bzero to libc. implementation subject to change, but starttedu2014-01-223-4/+37
| | | | the ball rolling. ok deraadt.
* fix a leak in getgrouplist()jsg2014-01-221-1/+2
| | | | | problem reproduced and fix verified by schwarze who wrote the code ok krw@ deraadt@ schwarze@
* Ouch... recommend arc4random, not random.deraadt2014-01-211-3/+3
| | | | spotted by tedu
* document return values; ok deraadt@, jmc@otto2014-01-211-1/+12
|
* obvious .Pa fixes; found with mandocdb(8)schwarze2014-01-2173-302/+301
|
* Fix an obvious .Fn/.Fa typo, found while testing mandocdb(8).schwarze2014-01-201-3/+3
|
* Add missing section numbers to .Xr; found while testing mandocdb(8).schwarze2014-01-201-9/+8
| | | | | While here, improve the wording at one place. OK jmc@.
* Obvious .Xr fixes, found while testing mandocdb(8).schwarze2014-01-202-8/+8
|
* Fix one more off-by-one (making it an off-by-two):tobias2014-01-191-2/+2
| | | | | | | 1. integer division can give an off-by-one (like 2/3 = 0 for calloc) 2. ending the shells array with NULL takes space, too ok millert@
* Rename the hidden symbol __elf_fdnlist to __fdnlist, and remove thederaadt2014-01-191-26/+2
| | | | | | | format handling wrapper. __fdnlist is used by libkvm. Avoid cranking libc because the time is inconvenient, and __elf_fdnlist is not used anywhere. ok millert jsing
* Usually, you don't want macros in the .Nd line, so remove instances of .Tnschwarze2014-01-192-12/+7
| | | | | | marking up words that are not trademarks (ASCII, I/O, NFS, TCP, TELNET). While here, remove .Tn markup from the same words in the body of these pages, too.
* Punctuation after macro arguments needs to be in a separate argument.schwarze2014-01-192-6/+8
| | | | Found while testing mandocdb(8).
* Fix off-by-one on specially crafted /etc/shells file.tobias2014-01-171-2/+2
| | | | ok gilles@, millert@
* Initialise _res.nsaddr_list in res_init(), fixing some programs which dependsthen2014-01-151-1/+6
| | | | | | | on bind resolver internals. Note, the list will not be updated if resolv.conf is changed while the program runs unless the caller resets the RES_INIT flag. Approach suggested by otto@, original diff from Kapetanakis Giannis, fix suggested by tedu@ and dug up again by Riccardo Mottola. Looks ok to eric@.
* fchownat is allowed to return EOPNOTSUPPespie2014-01-111-2/+8
| | | | okay guenther@
* match what hppa is doing now (not tested, but should be right)deraadt2014-01-101-5/+1
| | | | ok miod jsing
* correct argument handling; this has been broken since to beginningderaadt2014-01-101-3/+2
| | | | | and was writing to wrong memory. ok jsing miod guenther
* calling HashFinal with a null digest should crash, not be silently ignoredtedu2014-01-085-61/+40
|
* rename SHA256_ONLY to SHA2_SMALL; changing things so that sha512 supportderaadt2014-01-081-17/+17
| | | | is also pulled in
* Remove #ifdef _REENTRANT code that isn't used here. These days, the codekettenis2013-12-312-33/+2
| | | | | | handling per-thread errno lives in librthread. ok miod@, espie@
* don't try writing past the end unless we have totedu2013-12-311-8/+16
| | | | ok gilles millert
* Do not need __guard[] anymore since we are now relying on __guard_localderaadt2013-12-281-3/+1
| | | | | for a while already ok miod kettenis
* Move atexit(3) into crtbegin.c and certbeginS.c such that we can pass thekettenis2013-12-282-11/+2
| | | | | | | | | | right __dso_handle and have dlopen'ed shared objects run their atexit handlers when they get unloaded. This is what Linux does, and several ports depend on this behaviour (and will crash upon exit without this chang). Based on an earlier diff from matthew@ Tested by ajacoutot@ ok deraadt@
* do not need to create the stack cookie using a constructor anymore,deraadt2013-12-271-29/+1
| | | | | since the kernel supplies a .openbsd.randomdata segment. ok matthew miod guenther
* remove non-openbsd.randomdata partsderaadt2013-12-271-12/+1
| | | | ok miod matthew
* yup, we do ELFderaadt2013-12-241-6/+1
|
* remove unneeded check for null context. ok deraadt gilles millerttedu2013-12-221-9/+1
|
* fix double word error;jmc2013-12-191-2/+2
|
* Split out strncpy and strncat from strcpy and strcat manuals.millert2013-12-195-168/+308
| | | | Requested by deraadt@
* pseudo-code corrections from Solar Designer <solar@openwall.com>deraadt2013-12-191-4/+4
|
* The termios.h bits were missing from the initial commit.millert2013-12-171-4/+3
|
* fix build; from deraadt@naddy2013-12-171-1/+2
|
* crank libc for +tcgetsid -inet_nsap_addr -inet_nsap_ntoa -f_preallocderaadt2013-12-171-1/+1
| | | | ok millert