seccomp: remove 2-phase API
[linux-block.git] / include / linux / seccomp.h
index 9eaa7b34d6da30192f75c86679ddc5e446d5360e..ecc296c137cd2e3e926821dc357e5c00563bedd4 100644 (file)
@@ -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