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

Commit 006065fe authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Expand whitelist"

parents 0784e511 b29df844
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -147,6 +147,9 @@ bool set_seccomp_filter() {
    // Needed for kernel to restart syscalls
    // Needed for kernel to restart syscalls
    AllowSyscall(f, 128); // __NR_restart_syscall
    AllowSyscall(f, 128); // __NR_restart_syscall


    // b/35034743
    AllowSyscall(f, 267); // __NR_fstatfs64

    Trap(f);
    Trap(f);


    if (SetValidateArchitectureJumpTarget(offset_to_32bit_filter, f) != 0)
    if (SetValidateArchitectureJumpTarget(offset_to_32bit_filter, f) != 0)