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

Commit 76c20442 authored by Paul Lawrence's avatar Paul Lawrence
Browse files

Expand seccomp whitelist

Bug: 35059702
Test: Device boots, app no longer produces SIGSYS failures
Change-Id: I020b625bd7529ad9806c0b23a1ca70bc87906dad
parent da6d683c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -216,6 +216,9 @@ bool set_seccomp_filter() {
    AllowSyscall(f, 8);   // __NR_creat
    AllowSyscall(f, 10);  // __NR_unlink

    // b/35059702
    AllowSyscall(f, 196); // __NR_lstat64

    Trap(f);

    return install_filter(f);