mirror of https://github.com/mkerrisk/man-pages
prctl.2: ERRORS: Add EACCES error for PR_SET_SECCOMP-SECCOMP_MODE_FILTER
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d4748fad9f
commit
4ab9f1db3d
16
man2/prctl.2
16
man2/prctl.2
|
@ -1034,6 +1034,22 @@ is set appropriately.
|
|||
.B EACCES
|
||||
.I option
|
||||
is
|
||||
.BR PR_SET_SECCOMP
|
||||
and
|
||||
.I arg2
|
||||
is
|
||||
.BR SECCOMP_MODE_FILTER ,
|
||||
but the process does not have the
|
||||
.BR CAP_SYS_ADMIN
|
||||
capability or has not set the
|
||||
.IR no_new_privs
|
||||
attribute (see the discussion of
|
||||
.BR PR_SET_NO_NEW_PRIVS
|
||||
above).
|
||||
.TP
|
||||
.B EACCES
|
||||
.I option
|
||||
is
|
||||
.BR PR_SET_MM ,
|
||||
and
|
||||
.I arg3
|
||||
|
|
Loading…
Reference in New Issue