Skip to content
Snippets Groups Projects
Commit 63d08d8f authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

Merge "debuggerd.te: allow debuggerd to drop root." am: 751c0075

am: 4706a088

* commit '4706a088':
  debuggerd.te: allow debuggerd to drop root.
parents fea761b4 4706a088
No related branches found
No related tags found
No related merge requests found
...@@ -4,17 +4,14 @@ type debuggerd_exec, exec_type, file_type; ...@@ -4,17 +4,14 @@ type debuggerd_exec, exec_type, file_type;
init_daemon_domain(debuggerd) init_daemon_domain(debuggerd)
typeattribute debuggerd mlstrustedsubject; typeattribute debuggerd mlstrustedsubject;
allow debuggerd self:capability { dac_override sys_ptrace chown kill fowner }; allow debuggerd self:capability { dac_override sys_ptrace chown kill fowner setuid setgid };
allow debuggerd self:capability2 { syslog }; allow debuggerd self:capability2 { syslog };
allow debuggerd domain:dir r_dir_perms; allow debuggerd domain:dir r_dir_perms;
allow debuggerd domain:file r_file_perms; allow debuggerd domain:file r_file_perms;
allow debuggerd domain:lnk_file read; allow debuggerd domain:lnk_file read;
allow debuggerd { domain -init -ueventd -watchdogd -healthd -adbd -keystore }:process { ptrace getattr }; allow debuggerd { domain -init -ueventd -watchdogd -healthd -adbd -keystore }:process { ptrace getattr };
security_access_policy(debuggerd) security_access_policy(debuggerd)
allow debuggerd system_data_file:dir create_dir_perms; allow debuggerd tombstone_data_file:dir rw_dir_perms;
allow debuggerd system_data_file:dir relabelfrom;
allow debuggerd tombstone_data_file:dir relabelto;
allow debuggerd tombstone_data_file:dir create_dir_perms;
allow debuggerd tombstone_data_file:file create_file_perms; allow debuggerd tombstone_data_file:file create_file_perms;
allow debuggerd shared_relro_file:dir r_dir_perms; allow debuggerd shared_relro_file:dir r_dir_perms;
allow debuggerd shared_relro_file:file r_file_perms; allow debuggerd shared_relro_file:file r_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