diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-02-05 12:51:51 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-02-05 12:51:51 +0100 |
| commit | 863d6b7de0e91ef768a78d363beeb5671a0962e7 (patch) | |
| tree | 95665053aba075be2db78d26fc9448688580f92e /man7/unix.7 | |
| parent | e4c98f64d1e3dc66446c96610b2a5080b325a7ba (diff) | |
| download | man-pages-863d6b7de0e91ef768a78d363beeb5671a0962e7.tar.gz | |
unix.7: The PID sent with SCM_CREDENTIALS must match an existing process
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/unix.7')
| -rw-r--r-- | man7/unix.7 | 8 |
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) |
