Merge "Allow __NR_pipe for 32-bit processes" am: 6f9a034cb9 am: b6add247f9 am: 1b553da84f
am: c543ddc292
Change-Id: Ie0d9b4f7a30b69eb8e15d014d8dff07802eaf18d
diff --git a/init/seccomp.cpp b/init/seccomp.cpp
index d632302..a90a137 100644
--- a/init/seccomp.cpp
+++ b/init/seccomp.cpp
@@ -213,6 +213,9 @@
// Needed for kernel to restart syscalls
AllowSyscall(f, 0); // __NR_restart_syscall
+ // Needed for debugging 32-bit Chrome
+ AllowSyscall(f, 42); // __NR_pipe
+
// arm32-on-arm64 only filter - autogenerated from bionic syscall usage
for (size_t i = 0; i < arm_filter_size; ++i)
f.push_back(arm_filter[i]);