seccomp: Add a seccomp_data parameter secure_computing()
[deliverable/linux.git] / kernel / seccomp.c
index 7002796f14a493988f6da70f77e266e36bf7788d..06816290a212deadde47bc878d56504f048e280d 100644 (file)
@@ -554,9 +554,9 @@ void secure_computing_strict(int this_syscall)
                BUG();
 }
 #else
-int __secure_computing(void)
+int __secure_computing(const struct seccomp_data *sd)
 {
-       u32 phase1_result = seccomp_phase1(NULL);
+       u32 phase1_result = seccomp_phase1(sd);
 
        if (likely(phase1_result == SECCOMP_PHASE1_OK))
                return 0;
This page took 0.02461 seconds and 5 git commands to generate.