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

Commit 1a30c937 authored by Colin Cross's avatar Colin Cross Committed by android-build-merger
Browse files

Merge "Allow tkill" am: 9fd11907 am: 81b76391 am: 33d0bb64

am: 781a9f5b

Change-Id: Ia91bf6d21ca241d825753834e8c2d1cfa7c591eb
parents ae072c03 781a9f5b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -170,6 +170,9 @@ bool set_seccomp_filter() {
    // Needed for trusty
    AllowSyscall(f, __NR_syncfs);

    // Needed for strace
    AllowSyscall(f, __NR_tkill);  // __NR_tkill

    // Needed for kernel to restart syscalls
    AllowSyscall(f, __NR_restart_syscall);

@@ -204,6 +207,9 @@ bool set_seccomp_filter() {
    // Syscalls needed to run GFXBenchmark
    AllowSyscall(f, 190); // __NR_vfork

    // Needed for strace
    AllowSyscall(f, 238);  // __NR_tkill

    // Needed for kernel to restart syscalls
    AllowSyscall(f, 0);  // __NR_restart_syscall