Skip to content
Snippets Groups Projects
Commit b69ebb1b authored by Nick Kralevich's avatar Nick Kralevich
Browse files

resolved conflicts for f57e2fd7 to master

Change-Id: I2a178737f43bae53de9c1fcdcfba4d2717c67fd5
parents 00eea6d8 f57e2fd7
Branches
Tags
No related merge requests found
...@@ -19,9 +19,6 @@ allow appdomain zygote:fd use; ...@@ -19,9 +19,6 @@ allow appdomain zygote:fd use;
# valgrind needs mmap exec for zygote # valgrind needs mmap exec for zygote
allow appdomain zygote_exec:file rx_file_perms; allow appdomain zygote_exec:file rx_file_perms;
# gdbserver for ndk-gdb ptrace attaches to app process.
allow appdomain self:process ptrace;
# Read system properties managed by zygote. # Read system properties managed by zygote.
allow appdomain zygote_tmpfs:file read; allow appdomain zygote_tmpfs:file read;
......
...@@ -18,6 +18,13 @@ allow isolated_app app_data_file:file { read write getattr lock }; ...@@ -18,6 +18,13 @@ allow isolated_app app_data_file:file { read write getattr lock };
allow isolated_app activity_service:service_manager find; allow isolated_app activity_service:service_manager find;
allow isolated_app display_service:service_manager find; allow isolated_app display_service:service_manager find;
# Google Breakpad (crash reporter for Chrome) relies on ptrace
# functionality. Without the ability to ptrace, the crash reporter
# tool is broken.
# b/20150694
# https://code.google.com/p/chromium/issues/detail?id=475270
allow isolated_app self:process ptrace;
##### #####
##### Neverallow ##### Neverallow
##### #####
......
...@@ -110,6 +110,9 @@ userdebug_or_eng(` ...@@ -110,6 +110,9 @@ userdebug_or_eng(`
allow untrusted_app perfprofd_data_file:dir r_dir_perms; allow untrusted_app perfprofd_data_file:dir r_dir_perms;
') ')
# gdbserver for ndk-gdb ptrace attaches to app process.
allow untrusted_app self:process ptrace;
# Programs routinely attempt to scan through /system, looking # Programs routinely attempt to scan through /system, looking
# for files. Suppress the denials when they occur. # for files. Suppress the denials when they occur.
dontaudit untrusted_app exec_type:file getattr; dontaudit untrusted_app exec_type:file getattr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment