Index: mojo/shell/runner/host/linux_sandbox.cc |
diff --git a/mojo/shell/runner/host/linux_sandbox.cc b/mojo/shell/runner/host/linux_sandbox.cc |
index 545511e0c14ab337d22633da262f5e6c3e1dbaee..6cd3750084ac5d7f7b013a9e1f92e9b19b56a081 100644 |
--- a/mojo/shell/runner/host/linux_sandbox.cc |
+++ b/mojo/shell/runner/host/linux_sandbox.cc |
@@ -94,8 +94,10 @@ class SandboxPolicy : public sandbox::BaselinePolicy { |
case __NR_ugetrlimit: |
#endif |
case __NR_uname: |
+#if defined(__arm__) || defined(__x86_64__) || defined(__mips__) |
case __NR_getsockopt: |
case __NR_setsockopt: |
+#endif |
return sandbox::bpf_dsl::Allow(); |
} |