Index: sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc |
diff --git a/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc b/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc |
index 913d4f691b8e5a290ffacef9ba48d198c6ac265a..45de129e24be031c0a2e729f2a8e07af31e56572 100644 |
--- a/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc |
+++ b/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc |
@@ -120,10 +120,9 @@ ResultExpr EvaluateSyscallImpl(int fs_denied_errno, |
return Allow(); |
} |
-#if defined(__aarch64__) |
- // These are needed for thread creation. |
- // TODO(leecam): Check jln's fix for this and remove these 'allows'. |
- if (sysno == __NR_sigaltstack || sysno == __NR_setpriority) |
+#if defined(OS_ANDROID) |
+ // Needed for thread creation. |
+ if (sysno == __NR_sigaltstack) |
return Allow(); |
#endif |