seccomp.2: Minor consolidation/reworking of EINVAL descriptions

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-11-18 00:24:54 +01:00
parent 865c9c8130
commit 1f5ad3c846
1 changed files with 4 additions and 10 deletions

View File

@ -601,7 +601,10 @@ was not a valid address.
.TP
.BR EINVAL
.IR operation
is unknown; or
is unknown or is not supported by this kernel version or configuration.
.TP
.B EINVAL
The specified
.IR flags
are invalid for the given
.IR operation .
@ -620,15 +623,6 @@ A secure computing mode has already been set, and
differs from the existing setting.
.TP
.BR EINVAL
.\" See stub kernel/seccomp.c::seccomp_set_mode_filter() in 3.18 sources
.I operation
specified
.BR SECCOMP_SET_MODE_FILTER ,
but the kernel was not built with
.B CONFIG_SECCOMP_FILTER
enabled.
.TP
.BR EINVAL
.I operation
specified
.BR SECCOMP_SET_MODE_FILTER ,