From 1f5ad3c8464d801b85e6f0365ecdedb909a71f85 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 18 Nov 2017 00:24:54 +0100 Subject: [PATCH] seccomp.2: Minor consolidation/reworking of EINVAL descriptions Signed-off-by: Michael Kerrisk --- man2/seccomp.2 | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/man2/seccomp.2 b/man2/seccomp.2 index e18135b04..9ff33f05c 100644 --- a/man2/seccomp.2 +++ b/man2/seccomp.2 @@ -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 ,