Merge "Allow tkill" am: 9fd1190790 am: 81b76391d3
am: 33d0bb6483
Change-Id: I75a8851720840c74c16fc3dcb753fbed9bc00531
This commit is contained in:
commit
781a9f5b7e
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 strace
|
||||
AllowSyscall(f, __NR_tkill); // __NR_tkill
|
||||
|
||||
// Needed for kernel to restart syscalls
|
||||
AllowSyscall(f, __NR_restart_syscall);
|
||||
|
||||
|
|
@ -204,6 +207,9 @@ bool set_seccomp_filter() {
|
|||
// Syscalls needed to run GFXBenchmark
|
||||
AllowSyscall(f, 190); // __NR_vfork
|
||||
|
||||
// Needed for strace
|
||||
AllowSyscall(f, 238); // __NR_tkill
|
||||
|
||||
// Needed for kernel to restart syscalls
|
||||
AllowSyscall(f, 0); // __NR_restart_syscall
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue