diff options
author | Kees Cook <keescook@chromium.org> | 2017-08-11 12:53:18 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2017-08-14 13:46:48 -0700 |
commit | fd76875ca289a3d4722f266fd2d5532a27083903 (patch) | |
tree | a2bfbf13137e9104f7b262b4f208a51aa8e2a3dc /include/uapi/linux/seccomp.h | |
parent | 59f5cf44a38284eb9e76270c786fb6cc62ef8ac4 (diff) | |
download | linux-stable-fd76875ca289a3d4722f266fd2d5532a27083903.tar.gz linux-stable-fd76875ca289a3d4722f266fd2d5532a27083903.tar.bz2 linux-stable-fd76875ca289a3d4722f266fd2d5532a27083903.zip |
seccomp: Rename SECCOMP_RET_KILL to SECCOMP_RET_KILL_THREAD
In preparation for adding SECCOMP_RET_KILL_PROCESS, rename SECCOMP_RET_KILL
to the more accurate SECCOMP_RET_KILL_THREAD.
The existing selftest values are intentionally left as SECCOMP_RET_KILL
just to be sure we're exercising the alias.
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include/uapi/linux/seccomp.h')
-rw-r--r-- | include/uapi/linux/seccomp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/seccomp.h b/include/uapi/linux/seccomp.h index f94433263e4b..5a03f699eb17 100644 --- a/include/uapi/linux/seccomp.h +++ b/include/uapi/linux/seccomp.h @@ -27,7 +27,8 @@ * The ordering ensures that a min_t() over composed return values always * selects the least permissive choice. */ -#define SECCOMP_RET_KILL 0x00000000U /* kill the task immediately */ +#define SECCOMP_RET_KILL_THREAD 0x00000000U /* kill the thread */ +#define SECCOMP_RET_KILL SECCOMP_RET_KILL_THREAD #define SECCOMP_RET_TRAP 0x00030000U /* disallow and force a SIGSYS */ #define SECCOMP_RET_ERRNO 0x00050000U /* returns an errno */ #define SECCOMP_RET_TRACE 0x7ff00000U /* pass to a tracer or disallow */ |