Merge "Expand seccomp whitelist" am: 0f0caf95c9 am: c84d14088e am: 18853fdc22
am: 61bd8e4fb5
Change-Id: I56d2ee2df31f0edc1dbe10cfe8d4e524aacc92d2
This commit is contained in:
commit
bb10e49faf
1 changed files with 5 additions and 0 deletions
|
|
@ -234,6 +234,11 @@ bool set_seccomp_filter() {
|
|||
// b/34817266
|
||||
AllowSyscall(f, 252); // __NR_epoll_wait
|
||||
|
||||
// Needed by sanitizers (b/34606909)
|
||||
// 5 (__NR_open) and 195 (__NR_stat64) are also required, but they are
|
||||
// already allowed.
|
||||
AllowSyscall(f, 85); // __NR_readlink
|
||||
|
||||
// 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]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue