diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2018-12-23 18:10:25 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2018-12-23 19:09:33 +0100 |
| commit | 744c8fa8d2b3e5efdee14de35ee426c26069124e (patch) | |
| tree | 8f7f9201ab5347f60840413c10c2a80f4bff419a /man7/unix.7 | |
| parent | 43e3c5518ba260d0413798036a506ca1b024c547 (diff) | |
| download | man-pages-744c8fa8d2b3e5efdee14de35ee426c26069124e.tar.gz | |
unix.7: Improve wording describing socket option argument/return values
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/unix.7')
| -rw-r--r-- | man7/unix.7 | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/man7/unix.7 b/man7/unix.7 index 2fae520e75..1fc27e3f1b 100644 --- a/man7/unix.7 +++ b/man7/unix.7 @@ -284,15 +284,28 @@ Enables the receiving of the credentials of the sending process in an ancillary message. When this option is set and the socket is not yet connected a unique name in the abstract namespace will be generated automatically. -Expects an integer boolean flag. +.IP +The value given as an argument to +.BR setsockopt (2) +and returned as the result of +.BR getsockopt (2) +is an integer boolean flag. .TP .B SO_PASSSEC Enables receiving of the SELinux security label of the peer socket in an ancillary message of type .BR SCM_SECURITY (see below). -Expects an integer boolean flag. -Supported for UNIX domain datagram sockets +.IP +The value given as an argument to +.BR setsockopt (2) +and returned as the result of +.BR getsockopt (2) +is an integer boolean flag. +.IP +The +.B SO_PASSSEC +option is supported for UNIX domain datagram sockets .\" commit 877ce7c1b3afd69a9b1caeb1b9964c992641f52a since Linux 2.6.18; support for UNIX domain stream sockets was added |
