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

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

Allow failing app through seccomp policy

Bug: 34651972
Test: Made sure failing app went to login screen
Change-Id: I111a379f3e8283aa829d9ceb97f95b34bbee4055
parent 73f6e44c
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -219,6 +219,10 @@ bool set_seccomp_filter() {
    // b/34732712
    AllowSyscall(f, 364); // __NR_perf_event_open

    // b/34651972
    AllowSyscall(f, 33);  // __NR_access
    AllowSyscall(f, 195); // __NR_stat64

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