diff options
author | Kees Cook <keescook@chromium.org> | 2016-06-01 16:02:17 -0700 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2018-12-10 23:46:22 +0530 |
commit | ceb1e1cda77af6804dbe9e53eae9793c39c03253 (patch) | |
tree | 2fe69f730c4e52ecaf6afe9234fab498ca498a1d /include | |
parent | 5b053daef3d84dda656d4d7266eddcbbb141ccc0 (diff) |
UPSTREAM: 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>
(cherry picked from commit 8112c4f140fa03f9ee68aad2cc79afa7df5418d3)
Bug: 119769499
Change-Id: Iff6246c1e6e9dd0161b80b666a5e796f78a5c785
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Signed-off-by: Amit Pundir <amit.pundir@linaro.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 62e149fe8ee4..50c460a956f1 100644 --- a/include/linux/seccomp.h +++ b/include/linux/seccomp.h @@ -36,12 +36,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 |