Index: content/common/sandbox_seccomp_bpf_linux.cc |
=================================================================== |
--- content/common/sandbox_seccomp_bpf_linux.cc (revision 201429) |
+++ content/common/sandbox_seccomp_bpf_linux.cc (working copy) |
@@ -873,9 +873,7 @@ |
bool IsGlobalProcessEnvironment(int sysno) { |
switch (sysno) { |
case __NR_acct: // Privileged. |
-#if defined(__i386__) || defined(__x86_64__) |
jln (very slow on Chromium)
2013/05/29 03:36:40
There is no getrlimit on arm. I think this #ifdef
|
case __NR_getrlimit: |
-#endif |
#if defined(__i386__) || defined(__arm__) |
case __NR_ugetrlimit: |
#endif |
@@ -1554,8 +1552,9 @@ |
case __NR_fdatasync: |
case __NR_fsync: |
case __NR_getpriority: |
-#if defined(__i386__) || defined(__x86_64__) |
jln (very slow on Chromium)
2013/05/29 03:36:40
Ditto.
|
case __NR_getrlimit: |
+#if defined(__i386__) || defined(__arm__) |
+ case __NR_ugetrlimit: |
#endif |
case __NR_mremap: // See crbug.com/149834. |
case __NR_pread64: |