Skip to content
Snippets Groups Projects
Commit f627abdd authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

don\'t allow debuggerd to ptrace itself.

am: 2d6fa723

* commit '2d6fa723':
  don't allow debuggerd to ptrace itself.

Change-Id: Iba10da2ff54f8a2802795443bae6218afd21ceea
parents 693c447c 2d6fa723
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,16 @@ allow debuggerd self:capability2 { syslog };
allow debuggerd domain:dir r_dir_perms;
allow debuggerd domain:file r_file_perms;
allow debuggerd domain:lnk_file read;
allow debuggerd { domain -init -ueventd -watchdogd -healthd -adbd -keystore }:process { ptrace getattr };
allow debuggerd {
domain
-adbd
-debuggerd
-healthd
-init
-keystore
-ueventd
-watchdogd
}:process { ptrace getattr };
security_access_policy(debuggerd)
allow debuggerd tombstone_data_file:dir rw_dir_perms;
allow debuggerd tombstone_data_file:file create_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment