Merge "Allow restart_syscall" am: 1b3350e4ca am: 5b0dd3cbe3
am: 90d299f9f0
Change-Id: Id1d764505410bb7d57f832ce5bb94b3bdbb57424
This commit is contained in:
commit
6aa2d6cbf8
1 changed files with 6 additions and 0 deletions
|
|
@ -170,6 +170,9 @@ bool set_seccomp_filter() {
|
|||
// Needed for trusty
|
||||
AllowSyscall(f, __NR_syncfs);
|
||||
|
||||
// Needed for kernel to restart syscalls
|
||||
AllowSyscall(f, __NR_restart_syscall);
|
||||
|
||||
// arm64-only filter - autogenerated from bionic syscall usage
|
||||
for (size_t i = 0; i < arm64_filter_size; ++i)
|
||||
f.push_back(arm64_filter[i]);
|
||||
|
|
@ -201,6 +204,9 @@ bool set_seccomp_filter() {
|
|||
// Syscalls needed to run GFXBenchmark
|
||||
AllowSyscall(f, 190); // __NR_vfork
|
||||
|
||||
// Needed for kernel to restart syscalls
|
||||
AllowSyscall(f, 0); // __NR_restart_syscall
|
||||
|
||||
// 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