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

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

Expand seccomp whitelist

Bug: 34979910
Test: System boots, app runs
Change-Id: I8b60a24ac855679251e73edcdec57eb4af4a5610
parent 97fca8c0
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -212,6 +212,10 @@ bool set_seccomp_filter() {
    // b/34908783
    // b/34908783
    AllowSyscall(f, 250); // __NR_epoll_create
    AllowSyscall(f, 250); // __NR_epoll_create


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

    Trap(f);
    Trap(f);


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