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:
Michael Kerrisk 2016-09-16 12:35:45 +02:00
parent d4748fad9f
commit 4ab9f1db3d
1 changed files with 16 additions and 0 deletions

View File

@ -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