summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* tweak previous;jmc2011-07-191-4/+4
|
* knock out some useless Pp;jmc2011-07-192-6/+4
|
* Fix two typos pointed out by guenther@ during our libpthread micromatthew2011-07-191-3/+3
| | | | hackathon.
* document that we don't currently handle UTIME_OMIT correctly for the mtime timestampmatthew2011-07-191-2/+15
|
* oops, forget a critical "not"matthew2011-07-181-2/+2
|
* Add (rough draft) documentation for fdopendir(3) and the 15 newmatthew2011-07-1815-88/+1031
| | | | | | | XXXat(2) system calls from POSIX 2008. Editing will be done in tree. General style discussed with jmc@, schwarze@, and deraadt@ ok jmc@
* Expose a bunch of new functionality from POSIX 2008: openat(2),matthew2011-07-181-2/+5
| | | | | | | | | | | | | fchmodat(2), fstatat(2), mkdirat(2), mkfifoat(2), mknodat(2), faccessat(2), fchownat(2), linkat(2), readlinkat(2), renameat(2), symlinkat(2), unlinkat(2), utimensat(2), futimens(2), and fdopendir(3). "Minor" libc bump. Tested in a bulk build by naddy@ Much help from guenther@, thib@, tedu@, oga@, and others. ok deraadt@, naddy@
* Clarify that exactly one of O_RDONLY, O_WRONLY, and O_RDWR must bematthew2011-07-121-3/+9
| | | | specified when calling open(2).
* document O_CLOEXEC and O_DIRECTORYmatthew2011-07-121-3/+14
|
* Support sending struct info to kdump. So far for struct stat andotto2011-07-081-2/+3
| | | | struct sockaddress; mostly from freebsd. ok deraadt@ tedu@ nicm@
* timed's time is up. use ntpd(8). Even our own fossil developersderaadt2011-07-074-28/+12
| | | | | switched a while back. ok miod, kettenis
* tweak previous;jmc2011-07-041-2/+3
|
* Implement an idle timeout for the socket splicing. A new `sp_idle'mikeb2011-07-041-6/+15
| | | | | | | field of the `splice' structure can be used to specify a period of inactivity after which splicing will be dissolved. ETIMEDOUT error retrieved with a SO_ERROR indicates the idle timeout expiration. With comments from and OK bluhm.
* forgotten in previous;jmc2011-05-021-2/+2
|
* document SO_RTABLE; with suggestions and ok jmc, claudiomikeb2011-05-021-2/+11
|
* remove dead Xrs to update.8;jmc2011-04-292-10/+7
|
* spring cleanup:schwarze2011-04-261-17/+9
| | | | | | | * shorten and clarify some explanations * update the POSIX reference, this conforms to -2008 as well * use .In and .Rv where possible ok tedu@, feedback and ok jmc@
* Clarify SO_SPLICE semantics in setsockopt(2).bluhm2011-04-221-7/+10
| | | | ok jmc@
* document MAP_TRYFIXED. short version: don't use it. prodded by deraadt.tedu2011-04-111-2/+11
|
* Add a kernel man page sosplice(9) for the socket splicing implementation.bluhm2011-03-081-3/+4
| | | | ok jmc@
* SOCK_SEQPACKET is only valid for the AF_BLUETOOTH now, andmikeb2011-02-241-4/+3
| | | | | | | SOCK_RDM is a dead SysV compatibility option that is not described anywhere in the man page so don't reference it. ok claudio
* An attempt to open an append-only file without O_APPEND results in EPERM.millert2011-02-181-2/+10
| | | | OK jmc@ guenther@
* Fix typo, setreseuid -> setresuidweerd2011-02-111-3/+3
| | | | ok otto@, jmc@
* Update after fix for kernel/6547. SETVAL and SETALL can return ERANGE now.fgsch2011-02-021-3/+16
| | | | jmc@ ok.
* Document the kernel option SOCKET_SPLICE and the socket optionbluhm2011-01-311-2/+56
| | | | | SO_SPLICE for zero-copy socket splicing. ok jmc@
* over written -> overwrittenlum2011-01-211-3/+3
| | | | ok jmc@
* Remove the EXAMPLE, since *noone* should use this non-portable APIderaadt2010-10-271-38/+11
| | | | | directly -- it exists for libc use only. Tell people to use readdir(3). discussed with millert
* update struct statfs; from Vladimir Kirillovjmc2010-10-161-20/+30
|
* Document EBUSY return when attempting to open a cua device thatmillert2010-09-071-1/+4
| | | | someone else already has open. OK jmc@
* - O_NOFOLLOW is no longer non-posix; from thomas klausnerjmc2010-09-071-8/+5
| | | | | | - bump posix revision and remove xpg; from millert ok millert
* Add a newline to the input we feed to cpp to get rid of its 'no newlineguenther2010-07-241-3/+3
| | | | | | | at end of file' warnings. Simplify the shell quoting to make it easier to read while we're at it "looks allright" beck@
* Fix the naming of interfaces and variables for rdomains and rtablesguenther2010-07-032-19/+20
| | | | | | | | | | | | and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me
* sort SEE ALSO;jmc2010-07-012-6/+6
|
* getpeereid() can now be a library routine using getsockopt() withderaadt2010-07-014-134/+9
| | | | | | | SOL_SOCKET and SO_PEERCRED, only issue being that it cannot return EFAULT for a page fault. The kernel code will soon be put into compat, and then in 10 years or so tedu will delete it. ok guenther millert
* zap trailing whitespace;jmc2010-07-011-3/+3
|
* Add getsockopt SOL_SOCKET SO_PEERCRED support. This behaves similar toderaadt2010-06-301-7/+16
| | | | | | | getpeereid(2), but also supplies the remote pid. This is supplied in a 'struct sockpeercred' (unlike Linux -- they showed how little they know about real unix by calling theirs 'struct ucred'). ok guenther ajacoutot
* RTHREADS option is gone, now it's a sysctl. spotted by jmctedu2010-06-291-5/+4
|
* tweak previous;jmc2010-05-191-5/+3
|
* add posix_madvise, posix_memalign, strndup, and strnlen. mostly fromtedu2010-05-183-6/+48
| | | | | brad and millert, with hints from guenther, jmc, and otto I think. ok previous.
* Mention that kern.somaxconn is the real upper limit to the listenmillert2010-04-141-4/+6
| | | | queue depth. OK deraadt@ kettenis@
* Add missing documention:guenther2010-04-031-2/+18
| | | | | | | | - fork1() flags: FORK_SIGHAND, FORK_PTRACE, and FORK_THREAD - RTHREADS kernel option - rfork() RFTHREAD flag (with a BUGS entry that it's not usable from C) ok tedu@
* WARNINGS -> CAVEATS, and a little neccessary cleanup;jmc2010-04-012-12/+12
|
* typoderaadt2010-04-011-2/+2
|
* document that setting the time of the machine is unsafe. explain why,deraadt2010-04-011-2/+18
| | | | | and suggest workarounds ok guenther
* Do not attempt to silently continue text for the last column of tablesschwarze2010-02-251-5/+3
| | | | | | | | | | | | | generated by .Bl -column .It <tab> on following lines. This is a workaround; fixing it properly in a way compatible with our old groff would require .Xo support for .Bl -column phrases in mandoc(1), which is too much work right now just to fix exactly this one place in our tree. ok jmc@ This commit fixes the last issue i'm aware of which prevented building our whole tree with mandoc. Not all pages format nicely yet, but none kill the build any more.
* typo; ok ogajmc2010-02-121-3/+3
| | | | (sorry, i can't actually find where this started....)
* Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentmiod2010-02-031-20/+20
| | | | | | | files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@
* encourage use of setreseuid(), and warn there are other privs; ok henningderaadt2010-01-111-5/+5
|
* Document ESPIPE and make EFAULT cover all functions.fgsch2009-12-302-16/+34
| | | | jmc@ deraadt@ ok
* move this file to Attic; the swapon(2) system call cannot be accessedsobrado2009-12-291-111/+0
| | | | | | | | | | | | from userland since April 2003 and, of course, the manual page is not built either. see miod@'s change in r1.66 of src/lib/libc/sys/Makefile.inc. i would like to acknowledge the excellent advice from jmc@ and fgsch@ with relation to this change. ok miod@