Index: sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h |
=================================================================== |
--- sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h (revision 275489) |
+++ sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h (working copy) |
@@ -62,6 +62,9 @@ |
// |sysno| is tkill. |
ErrorCode RestrictKillTarget(pid_t target_pid, SandboxBPF* sandbox, int sysno); |
+// Crash if FUTEX_CMP_REQUEUE_PI is used in the second argument of futex(2). |
+ErrorCode RestrictFutex(SandboxBPF* sandbox); |
+ |
} // namespace sandbox. |
#endif // SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SYSCALL_PARAMETERS_RESTRICTIONS_H_ |