Index: sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc |
diff --git a/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc b/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc |
index 5f8785ea376d076abcb153a6a71e863ce4c74def..079f8c16716b4e64791aa2e14976d43cf0488086 100644 |
--- a/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc |
+++ b/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc |
@@ -374,12 +374,12 @@ bool SyscallSets::IsAllowedProcessStartOrDeath(int sysno) { |
} |
// It's difficult to restrict those, but there is attack surface here. |
-bool SyscallSets::IsFutex(int sysno) { |
+bool SyscallSets::IsAllowedFutex(int sysno) { |
switch (sysno) { |
- case __NR_futex: |
case __NR_get_robust_list: |
case __NR_set_robust_list: |
return true; |
+ case __NR_futex: |
default: |
return false; |
} |