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

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

Merge "Allow __NR_pipe for 32-bit processes" am: 6f9a034c

am: b6add247

Change-Id: Ic53e527cc0aaed35d189b38818cd4ddbdd3b7161
parents dd778187 b6add247
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -213,6 +213,9 @@ bool set_seccomp_filter() {
    // Needed for kernel to restart syscalls
    AllowSyscall(f, 0);  // __NR_restart_syscall

    // Needed for debugging 32-bit Chrome
    AllowSyscall(f, 42); // __NR_pipe

    // arm32-on-arm64 only filter - autogenerated from bionic syscall usage
    for (size_t i = 0; i < arm_filter_size; ++i)
        f.push_back(arm_filter[i]);