Expand seccomp whitelist
Bug: 34763393 Test: cts test android.os.cts.SeccompTest now passes Change-Id: I8907074485395015a03119700543ff33fdd8e214
This commit is contained in:
@@ -148,7 +148,10 @@ bool set_seccomp_filter() {
|
||||
AllowSyscall(f, 128); // __NR_restart_syscall
|
||||
|
||||
// b/35034743
|
||||
AllowSyscall(f, 267); // __NR_fstatfs64
|
||||
AllowSyscall(f, 267); // __NR_syncfs
|
||||
|
||||
// b/34763393
|
||||
AllowSyscall(f, 277); // __NR_seccomp
|
||||
|
||||
Trap(f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user