| 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 079f8c16716b4e64791aa2e14976d43cf0488086..e3db231502db4e768d306087992990624fad49b9 100644
|
| --- a/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
|
| +++ b/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
|
| @@ -546,14 +546,14 @@ bool SyscallSets::IsAllowedGeneralIo(int sysno) {
|
| }
|
| }
|
|
|
| -bool SyscallSets::IsAllowedPrctl(int sysno) {
|
| +bool SyscallSets::IsPrctl(int sysno) {
|
| switch (sysno) {
|
| - case __NR_prctl:
|
| - return true;
|
| - default:
|
| #if defined(__x86_64__)
|
| case __NR_arch_prctl:
|
| #endif
|
| + case __NR_prctl:
|
| + return true;
|
| + default:
|
| return false;
|
| }
|
| }
|
|
|