Merge "Allow __NR_perf_event_open"

am: 3711469ec6

Change-Id: I7ca95a8b7f4fd8fb87fc463c3f43c8bb2f80f7ac
This commit is contained in:
Paul Lawrence 2017-01-27 18:13:58 +00:00 committed by android-build-merger
commit a1ad789fbb
1 changed files with 3 additions and 0 deletions

View File

@ -216,6 +216,9 @@ bool set_seccomp_filter() {
// Needed for debugging 32-bit Chrome
AllowSyscall(f, 42); // __NR_pipe
// b/34732712
AllowSyscall(f, 364); // __NR_perf_event_open
// 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]);