summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2014-01-26appeared in 5.2. from Donovan WatteauTed Unangst
2014-01-24Update C standard reference to C99 and document HISTORY and AUTHORS;Ingo Schwarze
using input from millert@, reminded by and ok jmc@
2014-01-23also document that ctime* and asctime* can return NULL; ok deraadt@, millert@Otto Moerbeek
2014-01-22Use consistent phrasing for bitmask flags.Philip Guenther
tweaking and ok millert@ jmc@
2014-01-22add explicit_bzero to NAME;Jason McIntyre
2014-01-22minor++Ted Unangst
2014-01-22add explicit_bzero to libc. implementation subject to change, but startTed Unangst
the ball rolling. ok deraadt.
2014-01-22fix a leak in getgrouplist()Jonathan Gray
problem reproduced and fix verified by schwarze who wrote the code ok krw@ deraadt@ schwarze@
2014-01-21Ouch... recommend arc4random, not random.Theo de Raadt
spotted by tedu
2014-01-21document return values; ok deraadt@, jmc@Otto Moerbeek
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2014-01-20Fix an obvious .Fn/.Fa typo, found while testing mandocdb(8).Ingo Schwarze
2014-01-20Add missing section numbers to .Xr; found while testing mandocdb(8).Ingo Schwarze
While here, improve the wording at one place. OK jmc@.
2014-01-20Obvious .Xr fixes, found while testing mandocdb(8).Ingo Schwarze
2014-01-19Fix one more off-by-one (making it an off-by-two):Tobias Stoeckmann
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@
2014-01-19Rename the hidden symbol __elf_fdnlist to __fdnlist, and remove theTheo de Raadt
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
2014-01-19Usually, you don't want macros in the .Nd line, so remove instances of .TnIngo Schwarze
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.
2014-01-19Punctuation after macro arguments needs to be in a separate argument.Ingo Schwarze
Found while testing mandocdb(8).
2014-01-17Fix off-by-one on specially crafted /etc/shells file.Tobias Stoeckmann
ok gilles@, millert@
2014-01-15Initialise _res.nsaddr_list in res_init(), fixing some programs which dependStuart Henderson
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@.
2014-01-11fchownat is allowed to return EOPNOTSUPPMarc Espie
okay guenther@
2014-01-10match what hppa is doing now (not tested, but should be right)Theo de Raadt
ok miod jsing
2014-01-10correct argument handling; this has been broken since to beginningTheo de Raadt
and was writing to wrong memory. ok jsing miod guenther
2014-01-08calling HashFinal with a null digest should crash, not be silently ignoredTed Unangst
2014-01-08rename SHA256_ONLY to SHA2_SMALL; changing things so that sha512 supportTheo de Raadt
is also pulled in
2013-12-31Remove #ifdef _REENTRANT code that isn't used here. These days, the codeMark Kettenis
handling per-thread errno lives in librthread. ok miod@, espie@
2013-12-31don't try writing past the end unless we have toTed Unangst
ok gilles millert
2013-12-28Do not need __guard[] anymore since we are now relying on __guard_localTheo de Raadt
for a while already ok miod kettenis
2013-12-28Move atexit(3) into crtbegin.c and certbeginS.c such that we can pass theMark Kettenis
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@
2013-12-27do not need to create the stack cookie using a constructor anymore,Theo de Raadt
since the kernel supplies a .openbsd.randomdata segment. ok matthew miod guenther
2013-12-27remove non-openbsd.randomdata partsTheo de Raadt
ok miod matthew
2013-12-24yup, we do ELFTheo de Raadt
2013-12-22remove unneeded check for null context. ok deraadt gilles millertTed Unangst
2013-12-19fix double word error;Jason McIntyre
2013-12-19Split out strncpy and strncat from strcpy and strcat manuals.Todd C. Miller
Requested by deraadt@
2013-12-19pseudo-code corrections from Solar Designer <solar@openwall.com>Theo de Raadt
2013-12-17The termios.h bits were missing from the initial commit.Todd C. Miller
2013-12-17fix build; from deraadt@Christian Weisgerber
2013-12-17crank libc for +tcgetsid -inet_nsap_addr -inet_nsap_ntoa -f_preallocTheo de Raadt
ok millert
2013-12-17inet_nsap_ntoa() and inet_nsap_addr() go away. Unused APIs from darkerTheo de Raadt
days.
2013-12-17f_prealloc() goes away. Comment from the original source file:Theo de Raadt
* XXX. Force immediate allocation of internal memory. Not used by stdio, * but documented historically for certain applications. Bad applications.
2013-12-17Add tcgetsid() now that it is in POSIX base. Man page adapted fromTodd C. Miller
NetBSD (thorpej). OK kettenis@
2013-12-12POSIX no longer requires sys/types.h be included to get the pid_tTodd C. Miller
definition, and neither do our headers. OK espie@ guenther@
2013-12-05no more regexp(3), so point to regex(3);Jason McIntyre
as advised by deraadt
2013-12-04express final disapproval of the interfaces in libcompat, such asTheo de Raadt
them ftime(), gtty(), stty(), re_comp(), cuserid() and others. Discussion and ongoing work to fix the ports tree from many, especially naddy. ok naddy [There is a bit more cleanup possible after that, but this is considered the current safe step]
2013-12-04tweak from deraadt;Jason McIntyre
2013-12-04update BUGS to reflect previous; as advised byJason McIntyre
guenther and deraadt
2013-12-03Remove string.h dependency from sys/select.h; from FreeBSD, tweakedChristian Weisgerber
by deraadt@. Sync man page. ok guenther@, deraadt@
2013-12-02CIRCLEQ begone.Kenneth R Westerback
ok miller@
2013-12-01Eliminate references to the basep argument which was removed in thePhilip Guenther
change to getdents(). Indicate that d_off values are valid for seeking on directories. problem noted by Jared Yanovich (slovichon (at) gmail.com) ok jmc@