mirror of https://github.com/mkerrisk/man-pages
unix.7: Clarify that SO_PASSCRED behavior
Clarify that SO_PASSCRED results in SCM_CREDENTIALS data in each subsequently received message. See https://bugzilla.kernel.org/show_bug.cgi?id=201805 Reported-by: Felipe Gasper <felipe@felipegasper.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
3d3cddde94
commit
421d34c632
14
man7/unix.7
14
man7/unix.7
|
@ -280,10 +280,16 @@ by specifying
|
|||
as the socket family.
|
||||
.TP
|
||||
.B SO_PASSCRED
|
||||
This socket option enables receipt
|
||||
of the credentials of the sending process in an
|
||||
.BR SCM_CREDENTIALS
|
||||
ancillary message.
|
||||
This socket option enables receipt of the credentials of
|
||||
the sending process in an
|
||||
.B SCM_CREDENTIALS ancillary
|
||||
message in each subsequently message.
|
||||
The returned credentials are those specified by the sender using
|
||||
.BR SCM_CREDENTIALS ,
|
||||
or a default that includes the sender's PID, real user ID, and real group ID,
|
||||
if the sender did not specify
|
||||
.B SCM_CREDENTIALS
|
||||
ancillary data.
|
||||
.IP
|
||||
When this option is set and the socket is not yet connected,
|
||||
a unique name in the abstract namespace will be generated automatically.
|
||||
|
|
Loading…
Reference in New Issue