Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39139358 authored by Paul Lawrence's avatar Paul Lawrence
Browse files

Expand seccomp whitelist

Bug: 34763393
Test: cts test android.os.cts.SeccompTest now passes
Change-Id: I8907074485395015a03119700543ff33fdd8e214
parent 8fbf6a29
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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);