seccomp: remove 2-phase API
authorKees Cook <keescook@chromium.org>
Wed, 1 Jun 2016 23:02:17 +0000 (16:02 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 14 Jun 2016 17:54:40 +0000 (10:54 -0700)
commit8112c4f140fa03f9ee68aad2cc79afa7df5418d3
tree5e4ede4223eaed16b34ec0bf1328bfb7a6af09c6
parentc87a85177e7a7f9a9ee32893fb99a928e02fe23a
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>
include/linux/seccomp.h
kernel/seccomp.c