diff options
author | Kees Cook <keescook@chromium.org> | 2016-06-01 16:02:17 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-06-14 10:54:40 -0700 |
commit | 8112c4f140fa03f9ee68aad2cc79afa7df5418d3 (patch) | |
tree | 5e4ede4223eaed16b34ec0bf1328bfb7a6af09c6 /include | |
parent | c87a85177e7a7f9a9ee32893fb99a928e02fe23a (diff) |
seccomp: remove 2-phase API
Since nothing is using the 2-phase API, and it adds more complexity than
benefit, remove it.
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Andy Lutomirski <luto@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/seccomp.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/seccomp.h b/include/linux/seccomp.h index 9eaa7b34d6da..ecc296c137cd 100644 --- a/include/linux/seccomp.h +++ b/include/linux/seccomp.h @@ -35,12 +35,6 @@ static inline int secure_computing(const struct seccomp_data *sd) return __secure_computing(sd); return 0; } - -#define SECCOMP_PHASE1_OK 0 -#define SECCOMP_PHASE1_SKIP 1 - -extern u32 seccomp_phase1(struct seccomp_data *sd); -int seccomp_phase2(u32 phase1_result); #else extern void secure_computing_strict(int this_syscall); #endif |