diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/common/sandbox_seccomp_bpf_linux.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/common/sandbox_seccomp_bpf_linux.cc b/content/common/sandbox_seccomp_bpf_linux.cc index 3b049bc..eb06e83 100644 --- a/content/common/sandbox_seccomp_bpf_linux.cc +++ b/content/common/sandbox_seccomp_bpf_linux.cc @@ -1348,8 +1348,8 @@ ErrorCode RendererOrWorkerProcessPolicy(int sysno, void *) { case __NR_clone: return RestrictCloneToThreads(); case __NR_ioctl: - // Restrict IOCTL on x86_64 on Linux but not Chrome OS. - if (IsArchitectureX86_64() && !IsChromeOS()) { + // Restrict IOCTL on x86_64. + if (IsArchitectureX86_64()) { return RestrictIoctl(); } else { return ErrorCode(ErrorCode::ERR_ALLOWED); |