summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorRobert Sesek <rsesek@google.com>2018-09-11 19:20:34 -0400
committerRobert Sesek <rsesek@google.com>2018-09-11 19:20:34 -0400
commit74cdb253bae513197c5f96545b3c87cd3920e841 (patch)
tree3773374247e7963341ac8a3e107ddf0403b0c886 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parent56deeb7336e91ef717e5b1c5d5ef2ed0f4ed8b5b (diff)
Move pipe, open, and getdents from the APP to COMMON seccomp whitelist.
These system calls are required by Breakpad for crash reporting. WebViews are spawned from the webview_zygote, which itself is spawned from the app_process zygote. The webview_zygote gets the SYSTEM seccomp policy applied because it is not an app, and so the WebView sandboxed processes inherit that policy. In Ifd8a85b0de2eb6f2a76a6458570fc03b020a90ab, these system calls were moved from COMMON to APP, which breaks Breakpad/crash reporting for WebView sandboxed processes. Bug: 112572914 Test: `am start com.android.settings/.SettingsLicenseActivity` Test: Get the pid of the sandboxed_process0 for the license viewer. Test: Send the process SIGABRT and check logcat for "google-breakpad" error messages. Change-Id: I1cf56ae85b1a67ec91e979bc7e0f941726a9cc0e
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions