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

Commit 9a0e12d4 authored by Victor Hsieh's avatar Victor Hsieh
Browse files

Change seccomp to the system filter

Test: build
Bug: 63944145
Change-Id: I55da5354b90def14b024add7979099189943d9e6
parent 18f25d39
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -289,7 +289,7 @@ noinline int do_action(const char* arg) {
        munmap(map, sizeof(int));
        munmap(map, sizeof(int));
        map[0] = '8';
        map[0] = '8';
    } else if (!strcasecmp(arg, "seccomp")) {
    } else if (!strcasecmp(arg, "seccomp")) {
        set_seccomp_filter();
        set_system_seccomp_filter();
        syscall(99999);
        syscall(99999);
#if defined(__arm__)
#if defined(__arm__)
    } else if (!strcasecmp(arg, "kuser_helper_version")) {
    } else if (!strcasecmp(arg, "kuser_helper_version")) {