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

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

Merge "Expand seccomp whitelist" am: 10e7aed1 am: 0ab0d475

am: 53e6c94c

Change-Id: I4f6e9e4c705505861c7b61dcc2c36f3d997a402d
parents 63073e0a 53e6c94c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -212,6 +212,10 @@ bool set_seccomp_filter() {
    // b/34908783
    AllowSyscall(f, 250); // __NR_epoll_create

    // b/34979910
    AllowSyscall(f, 8);   // __NR_creat
    AllowSyscall(f, 10);  // __NR_unlink

    Trap(f);

    return install_filter(f);