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.
Showing the changes to include/uapi/linux (1 of 7 files). Show all
Unified · Split
| @@ -27,7 +27,8 @@ · 26 unmodified lines | ||
| 27 | 27 | * The ordering ensures that a min_t() over composed return values always |
| 28 | 28 | * selects the least permissive choice. |
| 29 | 29 | */ |
| 30 | −#define SECCOMP_RET_KILL 0x00000000U /* kill the task immediately */ | |
| 30 | +#define SECCOMP_RET_KILL_THREAD 0x00000000U /* kill the thread */ | |
| 31 | +#define SECCOMP_RET_KILL SECCOMP_RET_KILL_THREAD | |
| 31 | 32 | #define SECCOMP_RET_TRAP 0x00030000U /* disallow and force a SIGSYS */ |
| 32 | 33 | #define SECCOMP_RET_ERRNO 0x00050000U /* returns an errno */ |
| 33 | 34 | #define SECCOMP_RET_TRACE 0x7ff00000U /* pass to a tracer or disallow */ |