Revert "Move pipe, open, and getdents from the APP to COMMON seccomp whitelist."
This reverts commit 74cdb253ba
.
Chromium (and thus WebView) no longer uses Breakpad for crash reporting,
so the old compat syscalls that were whitelisted for Breakpad can be
moved back to the APP list.
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 Crashpad log
messages.
Bug: 115557900
Change-Id: I877ebe6bfabec544e58723b2e9a2f84c9cbf0a57
This commit is contained in:
parent
3779d6da40
commit
866387dc32
|
@ -25,10 +25,17 @@
|
|||
#
|
||||
# This file is processed by a python script named genseccomp.py.
|
||||
|
||||
# Needed for debugging 32-bit Chrome
|
||||
int pipe:pipe(int pipefd[2]) arm,x86,mips
|
||||
|
||||
# b/34651972
|
||||
int access:access(const char *pathname, int mode) arm,x86,mips
|
||||
int stat64:stat64(const char*, struct stat64*) arm,x86,mips
|
||||
|
||||
# b/34813887
|
||||
int open:open(const char *path, int oflag, ... ) arm,x86,x86_64,mips
|
||||
int getdents:getdents(unsigned int fd, struct linux_dirent *dirp, unsigned int count) arm,x86,x86_64,mips
|
||||
|
||||
# b/34719286
|
||||
int eventfd:eventfd(unsigned int initval, int flags) arm,x86,mips
|
||||
|
||||
|
|
|
@ -52,13 +52,6 @@ int tkill:tkill(int tid, int sig) all
|
|||
# b/34763393
|
||||
int seccomp:seccomp(unsigned int operation, unsigned int flags, void *args) all
|
||||
|
||||
# Needed for debugging 32-bit Chrome
|
||||
int pipe:pipe(int pipefd[2]) arm,x86,mips
|
||||
|
||||
# Needed by breakpad (b/34813887).
|
||||
int open:open(const char *path, int oflag, ... ) arm,x86,x86_64,mips
|
||||
int getdents:getdents(unsigned int fd, struct linux_dirent *dirp, unsigned int count) arm,x86,x86_64,mips
|
||||
|
||||
# Needed by sanitizers (b/34606909, b/136777266).
|
||||
int open:open(const char*, int, ...) arm,x86,x86_64
|
||||
int stat64:stat64(const char*, struct stat64*) arm,x86
|
||||
|
|
Loading…
Reference in New Issue