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

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

Merge "Allow __NR_perf_event_open" am: 3711469e

am: a1ad789f

Change-Id: Ieafefe6727ba46f7133c7be55d7861413d32112b
parents b8accd11 a1ad789f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -216,6 +216,9 @@ bool set_seccomp_filter() {
    // Needed for debugging 32-bit Chrome
    AllowSyscall(f, 42); // __NR_pipe

    // b/34732712
    AllowSyscall(f, 364); // __NR_perf_event_open

    // 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]);