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

Commit 1201ce98 authored by Paul Lawrence's avatar Paul Lawrence Committed by android-build-merger
Browse files

Merge "Expand seccomp whitelist"

am: fd77a331

Change-Id: I824c984b907e43248d6eba6259f31f4aab7d64db
parents a3b4985a fd77a331
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -216,6 +216,9 @@ bool set_seccomp_filter() {
    AllowSyscall(f, 8);   // __NR_creat
    AllowSyscall(f, 8);   // __NR_creat
    AllowSyscall(f, 10);  // __NR_unlink
    AllowSyscall(f, 10);  // __NR_unlink


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

    Trap(f);
    Trap(f);


    return install_filter(f);
    return install_filter(f);