summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys (follow)
Commit message (Collapse)AuthorAgeFilesLines
* chflagsat() is also async-signal-safeguenther2015-05-121-2/+3
|
* Tweaks utimensat/futimens handling to always update ctime, even when bothguenther2015-04-171-14/+11
| | | | | | | atime and mtime are UTIME_OMIT (at least for ufs, tmpfs, and ext2fs), and to correctly handle a timestamp of -1. ok millert@
* Fix sa_sigaction() handler example. The third argument is void * andmillert2015-04-141-9/+15
| | | | should be cast to ucontext_t * to actually use it. OK deraadt@
* Make pthread_atfork() track the DSO that called it like atexit() does,guenther2015-04-072-2/+76
| | | | | | | | | | 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@
* Use -> instead of a right arrow when referring to C's -> operator.bentley2015-03-261-3/+3
| | | | with input from jmc@ schwarze@
* according to javad kouhi, freebsd pr #198612, vfork appeared first in bsd 3.0;jmc2015-03-211-3/+3
| | | | thanks sobrado for verifying (and okaying this)
* remove the first comma from constructs like ", and," and ", or,": you can usejmc2015-03-131-3/+3
| | | | | "and" and "or" to join sentence clauses, and you can use commas, but both hinders reading;
* sort sections;jmc2015-03-031-4/+4
|
* Fix variable name typo in IDIOMS.kspillner2015-03-031-3/+3
| | | | ok millert@
* Document that POLLPRI and POLLRDBAND are set for out-of-band socketmillert2015-03-021-2/+15
| | | | data.
* Document out-of-band data on a socket as an example of an exceptionalmillert2015-03-021-2/+4
| | | | condition.
* Document when closefrom() was added to OpenBSD. OK bcook@millert2015-03-021-1/+6
|
* Note that closefrom is an extension.bcook2015-03-021-2/+7
| | | | suggested and ok reyk@
* Reduce usage of predefined strings in manpages.bentley2015-02-282-9/+15
| | | | | | | | | | | 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@
* Be clear that when tv_nsec is set to UTIME_*, tv_sec is ignored.millert2015-02-271-3/+6
| | | | OK guenther@
* redundant though it may be, recv() is unlikely to be removed in a futuretedu2015-02-161-3/+2
| | | | release. ok millert
* document restriction on argv having one elementtedu2015-02-071-3/+6
|
* macro fixes from Kaspars at Bankovskis dot net;schwarze2015-02-055-38/+43
| | | | also fixing one typo in fts(3) while here
* fix macro usage; from Kaspars at Bankovskis dot netschwarze2015-01-311-7/+7
|
* mention that the kern.global_ptrace sysctl also affects PT_ATTACHtedu2015-01-251-2/+6
|
* Document that changes made to the directory hierarchy of the chrootmillert2015-01-221-2/+7
| | | | | jail may inadvertanly allow a process to escape. Also mention the problem of directory fd passing. Based on a diff from deraadt@
* We do not support AIO, so comment it out in the kqueue(2) manpage for now.reyk2015-01-201-28/+28
| | | | OK jmc@ guenther@
* Explicitly mention that PATH_MAX includes the NUL in the ENAMETOOLONGmillert2015-01-191-6/+7
| | | | description.
* Talk about thread-local errno and do not mention "extern int errno".millert2015-01-191-12/+13
| | | | Also correct the string version of error 0. OK guenther@
* Explicitly mention that PATH_MAX includes the NUL in the ENAMETOOLONGmillert2015-01-1930-182/+210
| | | | description.
* Back out changes unrelated to the ENAMETOOLONG diff.millert2015-01-191-15/+13
|
* Remove a pasto introduced in the last commit, spotted by schwarze@millert2015-01-171-17/+20
|
* Move to the <limits.h> universe.deraadt2015-01-161-2/+1
| | | | review by millert, binary checking process with doug, concept with guenther
* Get rid of .Tn; from Kaspars at Bankovskis dot net, tweaked by me.schwarze2015-01-011-34/+22
| | | | While here, stop calling the Internet "the ARPA Internet".
* Even though i personally consider 8-bit-characters in filenames unwise,schwarze2015-01-011-8/+4
| | | | | technically, filenames are not restricted to ASCII. Patch from Kaspars at Bankovskis dot net, no opposition when shown on tech@.
* use .In and delete .Tn; from Kaspars at Bankovskis dot netschwarze2014-12-1612-91/+60
|
* macro cleanup; from Kaspars at Bankovskis dot netschwarze2014-12-148-41/+39
|
* macro cleanup; from Kaspars Bankovskis, tweaked a bitschwarze2014-12-131-7/+8
|
* add missing sentence to RETURN VALUES; from Kaspars at Bankovskis dot netschwarze2014-12-101-2/+3
|
* use .Rv and simplify wording; from Kaspars at Bankovskis dot netschwarze2014-12-102-13/+6
|
* use .Rv; no change of meaning; from Kaspars at Bankovskis dot netschwarze2014-12-1043-254/+130
|
* Prefer .In and .Rv -stdguenther2014-12-103-18/+12
|
* Improve the description and layout of the RUSAGE_* values, and do someguenther2014-12-101-18/+25
| | | | | | | general cleanup diff from Kaspars Bankovskis (kaspars (at) bankovskis.net) ok and tweaks schwarze@, jmc@
* Add chflagsat(), modeled on fchmodat() with name to match FreeBSD.guenther2014-12-082-7/+64
|
* obvious cases of missing NAME .Nm entriesschwarze2014-12-042-6/+8
|
* Fix a minor documentation bug: When given the old real ID unchanged,schwarze2014-11-302-40/+18
| | | | | | | 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@
* update STANDARDS; ok millert@ jmc@schwarze2014-11-301-3/+3
|
* Replace all 14 instances of .St -ansiC-99 in our tree with .St -isoC-99.schwarze2014-11-301-3/+3
| | | | | | 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.
* move the description of flags from the SYNOPSIS to the DESCRIPTION;schwarze2014-11-301-19/+25
| | | | | from <kaspars at bankovskis dot net>, minimally tweaked by me; ok guenther@ jmc@
* macro and typo fixes from kaspars at bankovskis dot netschwarze2014-11-252-12/+21
|
* Be more POSIXy by using blksize_t (a.k.a. int32) for st_blksize, rather than the current uint32_t.krw2014-11-201-3/+3
| | | | ok guenther@ deraadt@
* oops. malloc is in section 3.tedu2014-11-201-2/+2
|
* sbrk is long dead. clarify that the data segment is malloc and anon mmap.tedu2014-11-201-5/+6
|
* When listing the async-signal-safe functions, don't split out "ANSI C"guenther2014-11-171-15/+11
| | | | | | | functions; the concept comes from POSIX anyway. With tweaks from schwarze@ ok deraadt@, jmc@, millert@, schwarze@
* zap some wacky Eo/Ec stuff, and start sentences on new lines; ok schwarzejmc2014-11-161-33/+27
|