aboutsummaryrefslogtreecommitdiffstats
path: root/man7/unix.7
diff options
context:
space:
mode:
Diffstat (limited to 'man7/unix.7')
-rw-r--r--man7/unix.78
1 files changed, 7 insertions, 1 deletions
diff --git a/man7/unix.7 b/man7/unix.7
index aa07793c20..79872b6998 100644
--- a/man7/unix.7
+++ b/man7/unix.7
@@ -503,7 +503,8 @@ of this structure.
The credentials which the sender specifies are checked by the kernel.
A privileged process is allowed to specify values that do not match its own.
The sender must specify its own process ID (unless it has the capability
-.BR CAP_SYS_ADMIN ),
+.BR CAP_SYS_ADMIN ,
+in which case the PID of any existing process may be specified),
its real user ID, effective user ID, or saved set-user-ID (unless it has
.BR CAP_SETUID ),
and its real group ID, effective group ID, or saved set-group-ID
@@ -720,6 +721,11 @@ versus
.B ESOCKTNOSUPPORT
Unknown socket type.
.TP
+.B ESRCH
+While sending an ancillary message containing credentials
+.RB ( SCM_CREDENTIALS ),
+the caller specified a PID that does not match any existing process.
+.TP
.B ETOOMANYREFS
This error can occur for
.BR sendmsg (2)