Merge "Expand seccomp whitelist"

This commit is contained in:
Treehugger Robot 2017-02-01 01:17:42 +00:00 committed by Gerrit Code Review
commit 2cd07e8b97
1 changed files with 3 additions and 0 deletions

View File

@ -231,6 +231,9 @@ bool set_seccomp_filter() {
// b/34719286 // b/34719286
AllowSyscall(f, 351); // __NR_eventfd AllowSyscall(f, 351); // __NR_eventfd
// b/34817266
AllowSyscall(f, 252); // __NR_epoll_wait
// arm32-on-arm64 only filter - autogenerated from bionic syscall usage // arm32-on-arm64 only filter - autogenerated from bionic syscall usage
for (size_t i = 0; i < arm_filter_size; ++i) for (size_t i = 0; i < arm_filter_size; ++i)
f.push_back(arm_filter[i]); f.push_back(arm_filter[i]);