summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* seperate->separate;jmc2015-09-091-3/+9
| | | | while here, i've adjusted the formatting of one list
* Move to next tame() API. The flags are now passed as a very simple string,deraadt2015-09-091-34/+35
| | | | | | | | which results in tame() code placements being much more recognizeable. tame() can be moved to unistd.h and does not need cpp symbols to turn the bits on and off. The resulting API is a bit unexpected, but simplifies the mapping to enabling bits in the kernel substantially. vague ok's from various including guenther doug semarie
* Simplify makefile rules for building the ASM stubs into "pick somethingguenther2015-09-091-113/+45
| | | | | | from column A and something from column B". ok miod@ deraadt@
* Delete ktracing of context switches: it's unused, and not particularly useful,guenther2015-09-071-4/+2
| | | | | | | and doing VOP_WRITE() from inside tsleep/msleep makes the locking too complicated, making it harder to move forward on MP changes. ok deraadt@ kettenis@
* Add getfsstat(2) to TAME_RPATH; OK deraadt@tim2015-09-071-3/+4
|
* spacing required before punctuation;jmc2015-09-061-2/+2
|
* remove excessive Xr; from rob piercederaadt2015-09-061-5/+3
|
* Add missing information to the socket splicing man page to make itbluhm2015-09-041-3/+6
| | | | | more comprehensible. OK jmc@ tedu@
* tweak previous;jmc2015-08-261-3/+5
|
* use ENAMETOOLONG instead of EINVAL for errno when string overflow occurs.semarie2015-08-261-1/+7
| | | | | | document tame.2 according. ok deraadt@
* Add TIOCGETA to the tame list for TAME_IOCTL.doug2015-08-261-1/+2
| | | | | | This is used by readpassphrase() and curses. ok deraadt@
* Convert paths argument of tame(2) to const char **.doug2015-08-261-3/+3
| | | | | | The path will not be modified and this reduces casts. Discussed with many. ok deraadt@
* Hide many (194!) symbols that nothing should be using.guenther2015-08-262-20/+5
| | | | | | | Delete exect(2); it wasn't portable across archs and nothing used it. ports test build by naddy@ ok deraadt@ kettenis@
* Fix latter vs later. From jmc@guenther2015-08-251-2/+2
|
* Document kbind(2)guenther2015-08-252-2/+122
|
* Move to tame(int flags, char *paths[]) API/ABI.deraadt2015-08-221-14/+58
| | | | | | | | | | | | The pathlist is a whitelist of dirs and files; anything else returns ENOENT. Recommendation is to use a narrowly defined list. Also add TAME_FATTR, which permits explicit change operations against "struct stat" fields. Some other TAME_ flags are refined slightly. Not cranking libc now, since nothing commited in base uses this and the timing is uncomfortable for others. Discussed with many; thanks for a few bug fixes from semarie, doug, guenther. ok guenther
* Whitelist TIOCGPGRP (for tcgetpgrp()) in TAME_IOCTL.doug2015-08-211-2/+3
| | | | | | Requested by Sunil Nimmagadda to help tame http. ok deraadt@
* spelling; ok deraadtjmc2015-08-021-3/+3
|
* ARG_MAX is the standard name (not NCARGS); probab[l]y guentherderaadt2015-07-282-10/+6
|
* describe CPATH before TMPPATHderaadt2015-07-281-12/+12
|
* unsort: requested by deraadtjmc2015-07-281-137/+137
|
* Sync with kernel TIOCGWINSZ change.doug2015-07-231-3/+3
|
* basic macro cleanup, mostly converting to .Dv where appropriateschwarze2015-07-211-38/+42
|
* In _TM_SELF, permit uname(3); OK deraadt@.schwarze2015-07-201-2/+3
|
* Add setgroups(2) to TAME_PROC, ok deraadtnicm2015-07-201-2/+3
|
* sort; ok deraadtjmc2015-07-191-139/+139
|
* typo; ralf horstmannderaadt2015-07-191-2/+2
|
* word fix;jmc2015-07-191-2/+2
|
* oops, SYS_ prefix stayed; noted by jmcderaadt2015-07-191-2/+2
|
* no need for -compact;jmc2015-07-191-16/+2
|
* some basic tweaks;jmc2015-07-191-7/+7
|
* Trailing spaces and missing .Pp.nicm2015-07-191-3/+4
|
* succesfull -> succesful, from Ross L Richardsonnicm2015-07-191-3/+3
|
* manual page for tame(2). not very good, so i will be hearing from jmcderaadt2015-07-192-3/+383
|
* mention that swapctl(2) can also be used to retrieve statisticsjasper2015-07-151-4/+4
| | | | ok millert@
* Simple macro fixes (Fd -> In, Nm -> Fn) from Kaspars at Bankovskis dot net.schwarze2015-05-3112-70/+70
| | | | No content change.
* 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@