summaryrefslogtreecommitdiff
path: root/lib/libc/sys
AgeCommit message (Collapse)Author
2015-05-31Simple macro fixes (Fd -> In, Nm -> Fn) from Kaspars at Bankovskis dot net.Ingo Schwarze
No content change.
2015-05-12chflagsat() is also async-signal-safePhilip Guenther
2015-04-17Tweaks utimensat/futimens handling to always update ctime, even when bothPhilip Guenther
atime and mtime are UTIME_OMIT (at least for ufs, tmpfs, and ext2fs), and to correctly handle a timestamp of -1. ok millert@
2015-04-14Fix sa_sigaction() handler example. The third argument is void * andTodd C. Miller
should be cast to ucontext_t * to actually use it. OK deraadt@
2015-04-07Make pthread_atfork() track the DSO that called it like atexit() does,Philip Guenther
unregistering callbacks if the DSO is unloaded. Move the callback handling from libpthread to libc, though libpthread still overrides the inner call to handle locking and thread-library reinitialization. Major version bump for both libc and libpthread. verification that this fixes various ports ajacoutot@ asm assistance miod@; ok millert@ deraadt@
2015-03-26Use -> instead of a right arrow when referring to C's -> operator.Anthony J. Bentley
with input from jmc@ schwarze@
2015-03-21according to javad kouhi, freebsd pr #198612, vfork appeared first in bsd 3.0;Jason McIntyre
thanks sobrado for verifying (and okaying this)
2015-03-13remove the first comma from constructs like ", and," and ", or,": you can useJason McIntyre
"and" and "or" to join sentence clauses, and you can use commas, but both hinders reading;
2015-03-03sort sections;Jason McIntyre
2015-03-03Fix variable name typo in IDIOMS.Kent R. Spillner
ok millert@
2015-03-02Document that POLLPRI and POLLRDBAND are set for out-of-band socketTodd C. Miller
data.
2015-03-02Document out-of-band data on a socket as an example of an exceptionalTodd C. Miller
condition.
2015-03-02Document when closefrom() was added to OpenBSD. OK bcook@Todd C. Miller
2015-03-02Note that closefrom is an extension.Brent Cook
suggested and ok reyk@
2015-02-28Reduce usage of predefined strings in manpages.Anthony J. Bentley
Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@
2015-02-27Be clear that when tv_nsec is set to UTIME_*, tv_sec is ignored.Todd C. Miller
OK guenther@
2015-02-16redundant though it may be, recv() is unlikely to be removed in a futureTed Unangst
release. ok millert
2015-02-07document restriction on argv having one elementTed Unangst
2015-02-05macro fixes from Kaspars at Bankovskis dot net;Ingo Schwarze
also fixing one typo in fts(3) while here
2015-01-31fix macro usage; from Kaspars at Bankovskis dot netIngo Schwarze
2015-01-25mention that the kern.global_ptrace sysctl also affects PT_ATTACHTed Unangst
2015-01-22Document that changes made to the directory hierarchy of the chrootTodd C. Miller
jail may inadvertanly allow a process to escape. Also mention the problem of directory fd passing. Based on a diff from deraadt@
2015-01-20We do not support AIO, so comment it out in the kqueue(2) manpage for now.Reyk Floeter
OK jmc@ guenther@
2015-01-19Explicitly mention that PATH_MAX includes the NUL in the ENAMETOOLONGTodd C. Miller
description.
2015-01-19Talk about thread-local errno and do not mention "extern int errno".Todd C. Miller
Also correct the string version of error 0. OK guenther@
2015-01-19Explicitly mention that PATH_MAX includes the NUL in the ENAMETOOLONGTodd C. Miller
description.
2015-01-19Back out changes unrelated to the ENAMETOOLONG diff.Todd C. Miller
2015-01-17Remove a pasto introduced in the last commit, spotted by schwarze@Todd C. Miller
2015-01-16Move to the <limits.h> universe.Theo de Raadt
review by millert, binary checking process with doug, concept with guenther
2015-01-01Get rid of .Tn; from Kaspars at Bankovskis dot net, tweaked by me.Ingo Schwarze
While here, stop calling the Internet "the ARPA Internet".
2015-01-01Even though i personally consider 8-bit-characters in filenames unwise,Ingo Schwarze
technically, filenames are not restricted to ASCII. Patch from Kaspars at Bankovskis dot net, no opposition when shown on tech@.
2014-12-16use .In and delete .Tn; from Kaspars at Bankovskis dot netIngo Schwarze
2014-12-14macro cleanup; from Kaspars at Bankovskis dot netIngo Schwarze
2014-12-13macro cleanup; from Kaspars Bankovskis, tweaked a bitIngo Schwarze
2014-12-10add missing sentence to RETURN VALUES; from Kaspars at Bankovskis dot netIngo Schwarze
2014-12-10use .Rv and simplify wording; from Kaspars at Bankovskis dot netIngo Schwarze
2014-12-10use .Rv; no change of meaning; from Kaspars at Bankovskis dot netIngo Schwarze
2014-12-10Prefer .In and .Rv -stdPhilip Guenther
2014-12-10Improve the description and layout of the RUSAGE_* values, and do somePhilip Guenther
general cleanup diff from Kaspars Bankovskis (kaspars (at) bankovskis.net) ok and tweaks schwarze@, jmc@
2014-12-08Add chflagsat(), modeled on fchmodat() with name to match FreeBSD.Philip Guenther
2014-12-04obvious cases of missing NAME .Nm entriesIngo Schwarze
2014-11-30Fix a minor documentation bug: When given the old real ID unchanged,Ingo Schwarze
it is assigned to the saved ID even if no new effective ID is given, but the existing effective ID differs from the saved ID. Update STANDARDS and purge the redundant CAVEATS section. OK millert@ jmc@, no objections from tedu@
2014-11-30update STANDARDS; ok millert@ jmc@Ingo Schwarze
2014-11-30Replace all 14 instances of .St -ansiC-99 in our tree with .St -isoC-99.Ingo Schwarze
The former is not used anywhere in NetBSD, FreeBSD, or DragonFly and not supported by groff, so i'm going to delete it from mandoc(1). We don't need two macros for the same thing.
2014-11-30move the description of flags from the SYNOPSIS to the DESCRIPTION;Ingo Schwarze
from <kaspars at bankovskis dot net>, minimally tweaked by me; ok guenther@ jmc@
2014-11-25macro and typo fixes from kaspars at bankovskis dot netIngo Schwarze
2014-11-20Be more POSIXy by using blksize_t (a.k.a. int32) for st_blksize, rather than ↵Kenneth R Westerback
the current uint32_t. ok guenther@ deraadt@
2014-11-20oops. malloc is in section 3.Ted Unangst
2014-11-20sbrk is long dead. clarify that the data segment is malloc and anon mmap.Ted Unangst
2014-11-17When listing the async-signal-safe functions, don't split out "ANSI C"Philip Guenther
functions; the concept comes from POSIX anyway. With tweaks from schwarze@ ok deraadt@, jmc@, millert@, schwarze@