summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Hsieh2017-12-22 16:35:28 -0600
committerVictor Hsieh2017-12-22 16:35:28 -0600
commit9a0e12d4053cb0cc1bcc744243d7db45ccdac505 (patch)
tree34b61d10490507b4563454d5684adf15dc4aee65 /debuggerd
parent18f25d399e170b9944fd7eb23c48d88e51db45ce (diff)
downloadplatform-system-core-9a0e12d4053cb0cc1bcc744243d7db45ccdac505.tar.gz
platform-system-core-9a0e12d4053cb0cc1bcc744243d7db45ccdac505.tar.xz
platform-system-core-9a0e12d4053cb0cc1bcc744243d7db45ccdac505.zip
Change seccomp to the system filter
Test: build Bug: 63944145 Change-Id: I55da5354b90def14b024add7979099189943d9e6
Diffstat (limited to 'debuggerd')
-rw-r--r--debuggerd/crasher/crasher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/debuggerd/crasher/crasher.cpp b/debuggerd/crasher/crasher.cpp
index e9a3ebd5b..4b32b9d36 100644
--- a/debuggerd/crasher/crasher.cpp
+++ b/debuggerd/crasher/crasher.cpp
@@ -289,7 +289,7 @@ noinline int do_action(const char* arg) {
289 munmap(map, sizeof(int)); 289 munmap(map, sizeof(int));
290 map[0] = '8'; 290 map[0] = '8';
291 } else if (!strcasecmp(arg, "seccomp")) { 291 } else if (!strcasecmp(arg, "seccomp")) {
292 set_seccomp_filter(); 292 set_system_seccomp_filter();
293 syscall(99999); 293 syscall(99999);
294#if defined(__arm__) 294#if defined(__arm__)
295 } else if (!strcasecmp(arg, "kuser_helper_version")) { 295 } else if (!strcasecmp(arg, "kuser_helper_version")) {