Skip to content
Snippets Groups Projects
Commit d868e839 authored by Yifan Hong's avatar Yifan Hong Committed by android-build-merger
Browse files

Merge "Allow adbd and shell to read /proc/config.gz" into oc-dev

am: e1074f8b

Change-Id: I4854065d0fd85782076ef96aeed137170e2e7a32
parents 0f356b38 e1074f8b
No related branches found
No related tags found
No related merge requests found
...@@ -106,6 +106,9 @@ allow adbd seapp_contexts_file:file r_file_perms; ...@@ -106,6 +106,9 @@ allow adbd seapp_contexts_file:file r_file_perms;
allow adbd property_contexts_file:file r_file_perms; allow adbd property_contexts_file:file r_file_perms;
allow adbd sepolicy_file:file r_file_perms; allow adbd sepolicy_file:file r_file_perms;
# Allow pulling config.gz for CTS purposes
allow adbd config_gz:file r_file_perms;
allow adbd surfaceflinger_service:service_manager find; allow adbd surfaceflinger_service:service_manager find;
allow adbd bootchart_data_file:dir search; allow adbd bootchart_data_file:dir search;
allow adbd bootchart_data_file:file r_file_perms; allow adbd bootchart_data_file:file r_file_perms;
......
...@@ -7,6 +7,9 @@ allow shell tracing_shell_writable:file rw_file_perms; ...@@ -7,6 +7,9 @@ allow shell tracing_shell_writable:file rw_file_perms;
allow shell debugfs_trace_marker:file getattr; allow shell debugfs_trace_marker:file getattr;
allow shell atrace_exec:file rx_file_perms; allow shell atrace_exec:file rx_file_perms;
# read config.gz for CTS purposes
allow shell config_gz:file r_file_perms;
userdebug_or_eng(` userdebug_or_eng(`
allow shell tracing_shell_writable_debug:file rw_file_perms; allow shell tracing_shell_writable_debug:file rw_file_perms;
') ')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment