From 0c43878057d9042ae2f4e298f6ec4acc396cee0a Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 18 Nov 2017 23:13:44 +0100 Subject: [PATCH] seccomp.2: Change SECCOMP_RET_ACTION to SECCOMP_RET_ACTION_FULL In Linux 4.14, the action component of the return value switched from being 15 bits to being 16 bits. A new macro, SECCOMP_RET_ACTION_FULL, that masks the 16 bits was added, to replace the older SECCOMP_RET_ACTION. Reported-by: Kees Cook Signed-off-by: Michael Kerrisk --- man2/seccomp.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/seccomp.2 b/man2/seccomp.2 index 3e7dc739b..8998733d9 100644 --- a/man2/seccomp.2 +++ b/man2/seccomp.2 @@ -365,7 +365,7 @@ the system call, but visible in the seccomp data. A seccomp filter returns a 32-bit value consisting of two parts: the most significant 16 bits (corresponding to the mask defined by the constant -.BR SECCOMP_RET_ACTION ) +.BR SECCOMP_RET_ACTION_FULL ) contain one of the "action" values listed below; the least significant 16-bits (defined by the constant .BR SECCOMP_RET_DATA )