unix.7: Document SO_PASSSEC

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-07-26 10:40:48 +02:00
parent d91b7522a2
commit 366a9bffc8
1 changed files with 13 additions and 0 deletions

View File

@ -285,6 +285,19 @@ 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.
.TP
.B SO_PASSSEC
Enables receiving of the SELinux security label of the sending
process in an ancillary message of type
.BR SCM_SECURITY .
Expects an integer boolean flag.
Supported for UNIX domain datagram sockets
.\" commit 877ce7c1b3afd69a9b1caeb1b9964c992641f52a
since Linux 2.6.18;
support for UNIX domain stream sockets was added
.\" commit 37a9a8df8ce9de6ea73349c9ac8bdf6ba4ec4f70
in Linux 4.2.
.\"
.SS Autobind feature
If a
.BR bind (2)