summaryrefslogtreecommitdiffstats
path: root/share/man/man4/unix.4
Commit message (Collapse)AuthorAgeFilesLines
* Implement SOCK_CLOEXEC, SOCK_NONBLOCK and MSG_CMSG_CLOEXEC.jilles2013-03-191-8/+10
| | | | | | | | | | | | | | | | | | | This change allows creating file descriptors with close-on-exec set in some situations. SOCK_CLOEXEC and SOCK_NONBLOCK can be OR'ed in socket() and socketpair()'s type parameter, and MSG_CMSG_CLOEXEC to recvmsg() makes file descriptors (SCM_RIGHTS) atomically close-on-exec. The numerical values for SOCK_CLOEXEC and SOCK_NONBLOCK are as in NetBSD. MSG_CMSG_CLOEXEC is the first free bit for MSG_*. The SOCK_* flags are not passed to MAC because this may cause incorrect failures and can be done later via fcntl() anyway. On the other hand, audit is expected to cope with the new flags. For MSG_CMSG_CLOEXEC, unp_externalize() is extended to take a flags argument. Reviewed by: kib
* Remove trailing whitespace.joel2012-11-161-1/+1
|
* o Remove meaningless PROTOCOLS section.glebius2012-11-161-43/+65
| | | | | | | | | | | | | | | o Describe passing file descriptors as separate section. - Descriptors can be passed through any protocol of the UNIX family, not SOCK_STREAM and SOCK_SEQPACKET only. [1] o Describe socket options as separate section. - Move LOCAL_PEERCRED option to this section. - Describe struct xucred. - In LOCAL_CREDS section mention that credentials are passed only on the first read on non-datagram sockets. o Xref all mentioned system calls. Noticed by: Igor Sysoev [1]
* Bump unix(4) man page date for SOCK_SEQPACKET.rwatson2009-10-051-1/+1
| | | | | Suggested by: bz MFC after: 3 months
* SOCK_SEQPACKET is now supported on UNIX domain sockets.rwatson2009-10-051-4/+9
| | | | | Sponsored by: Google MFC after: 3 months
* o Fix typo: id_t -> uid_t.maxim2005-12-211-2/+2
| | | | | | | | | o Use align aware CMSG_LEN() macro for cmsg_len computation. PR: docs/90731 Submitted by: Andrey Simonenko Reviewed by: mdodd MFC after: 1 week
* Assorted markup fixes and minor wordsmithing.ru2005-06-151-12/+28
| | | | Approved by: re
* Implement unix(4) socket options LOCAL_CREDS and LOCAL_CONNWAIT.mdodd2005-04-131-0/+50
| | | | | | | | - Add unp_addsockcred() (for LOCAL_CREDS). - Add an argument to unp_connect2() to differentiate between PRU_CONNECT and PRU_CONNECT2. (for LOCAL_CONNWAIT) Obtained from: NetBSD (with some changes)
* Indent structure members.mdodd2005-04-121-3/+3
|
* Document the SUN_LEN macro.mdodd2005-04-121-0/+18
| | | | Obtained from: NetBSD
* mdoc(7): Use the new feature of the .In macro.ru2003-09-081-3/+3
|
* Uniformly refer to a file system as "file system".ru2002-12-121-4/+4
| | | | Approved by: re
* mdoc(7) police: fixed markup, removed the extra word.ru2001-08-201-16/+16
|
* Implement a LOCAL_PEERCRED socket option which returns add2001-08-171-1/+30
| | | | | | | | | | | `struct xucred` with the credentials of the connected peer. Obviously this only works (and makes sense) on SOCK_STREAM sockets. This works for both the connect(2) and listen(2) callers. There is precise documentation of the semantics in unix(4). Reviewed by: dwmalone (eyeballed)
* Removed whitespace at end-of-line; no content changes. I simply didschweikh2001-07-141-7/+7
| | | | | | | | | | cd src/share; find man[1-9] -type f|xargs perl -pi -e 's/[ \t]+$//' BTW, what editors are the culprits? I'm using vim and it shows me whitespace at EOL in troff files with a thick blue block... Reviewed by: Silence from cvs diff -b MFC after: 7 days
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* add missing cvs Id lines.jmg1997-03-071-0/+1
|
* BSD 4.4 Lite Share Sourcesrgrimes1994-05-301-0/+161
OpenPOWER on IntegriCloud