mirror of https://github.com/mkerrisk/man-pages
unix.7: Improve wording describing socket option argument/return values
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
43e3c5518b
commit
744c8fa8d2
19
man7/unix.7
19
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
|
||||
|
|
Loading…
Reference in New Issue