Skip to content
Snippets Groups Projects
Commit 95f90701 authored by Nick Kralevich's avatar Nick Kralevich Committed by Gerrit Code Review
Browse files

Merge "Allow system_app to start bugreport and to create /data/anr/traces.txt."

parents 1d98c49f 1c0c0102
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,7 @@ type rild_prop, property_type; ...@@ -9,6 +9,7 @@ type rild_prop, property_type;
type ctl_default_prop, property_type; type ctl_default_prop, property_type;
type ctl_dumpstate_prop, property_type; type ctl_dumpstate_prop, property_type;
type ctl_rildaemon_prop, property_type; type ctl_rildaemon_prop, property_type;
type ctl_bugreport_prop, property_type;
type audio_prop, property_type; type audio_prop, property_type;
type security_prop, property_type; type security_prop, property_type;
type bluetooth_prop, property_type; type bluetooth_prop, property_type;
......
...@@ -54,4 +54,5 @@ crypto. u:object_r:vold_prop:s0 ...@@ -54,4 +54,5 @@ crypto. u:object_r:vold_prop:s0
# ctl properties # ctl properties
ctl.dumpstate u:object_r:ctl_dumpstate_prop:s0 ctl.dumpstate u:object_r:ctl_dumpstate_prop:s0
ctl.ril-daemon u:object_r:ctl_rildaemon_prop:s0 ctl.ril-daemon u:object_r:ctl_rildaemon_prop:s0
ctl.bugreport u:object_r:ctl_bugreport_prop:s0
ctl. u:object_r:ctl_default_prop:s0 ctl. u:object_r:ctl_default_prop:s0
...@@ -25,3 +25,8 @@ unix_socket_connect(system_app, property, init) ...@@ -25,3 +25,8 @@ unix_socket_connect(system_app, property, init)
allow system_app debug_prop:property_service set; allow system_app debug_prop:property_service set;
allow system_app radio_prop:property_service set; allow system_app radio_prop:property_service set;
allow system_app system_prop:property_service set; allow system_app system_prop:property_service set;
allow system_app ctl_bugreport_prop:property_service set;
# Create /data/anr/traces.txt.
allow system_app anr_data_file:dir ra_dir_perms;
allow system_app anr_data_file:file create_file_perms;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment