summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixes and tweaks from jmc@guenther2011-10-161-7/+7
|
* Make consistent the syscall stubs for the syscalls that got specialguenther2011-10-169-22/+67
| | | | | | | | handling to fix up the alignment of 64bit arguments so that they do the same dance where _thread_sys_FOO is the real stub and FOO is a weak alias. For some of them, this is needed for cancellation handling. From discussions with fgsch@, ok millert@
* Add stubs and manpage for __{get,set}_tcbguenther2011-10-162-3/+68
| | | | ok deraadt@
* knock out some useless Pp;jmc2011-09-031-2/+1
|
* make -column lists pretty again;jmc2011-09-034-95/+160
| | | | | | | | | | specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense.
* as with other list types, column lists generally do not need a Pp/-compactjmc2011-08-191-4/+3
| | | | | | | | | | | | | | | | | construct; this also sidesteps what seems to be a problem with mandoc, in that "-column -compact" seems to mess up the formatting. thus these pages should now have their lists formatted nicely (i.e. correctly aligned and with indent applied); as a side note, the fact that headers are not properly marked up is another issue which will be addressed separately (a mandoc fix is needed, i think). i have fudged a few of these to mark up properly, since the workaround does make sense for some pages. as another side note, i haven;t fixed man7, as i need to prepare a separate diff for kristaps and ingo.
* .Fn rmdir -> .Xr rmdir 2matthew2011-07-261-3/+3
|
* fix linkat(2) prototypematthew2011-07-241-3/+3
|
* Change "constructed by bitwise-inclusive OR'ing of flags from ..." tomatthew2011-07-197-27/+27
| | | | | | "constructed by bitwise-inclusive ORing flags from ..." Requested by jmc@
* Change "If also flag is zero" to "If flag is also zero".matthew2011-07-192-8/+8
| | | | Requested by jmc@
* no need to mention xerox network stack here; ok claudiomikeb2011-07-191-5/+2
|
* 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.