diff --git a/private/domain.te b/private/domain.te index 5c6fec8b7a7f6748be15ec335dfd8c05f0e22098..5fcc1fd685fb30e141cb264cc3d93752325ce960 100644 --- a/private/domain.te +++ b/private/domain.te @@ -1,6 +1,8 @@ # Transition to crash_dump when /system/bin/crash_dump* is executed. # This occurs when the process crashes. -domain_auto_trans(domain, crash_dump_exec, crash_dump); +# We do not apply this to the su domain to avoid interfering with +# tests (b/114136122) +domain_auto_trans({ domain userdebug_or_eng(`-su') }, crash_dump_exec, crash_dump); allow domain crash_dump:process sigchld; # Limit ability to ptrace or read sensitive /proc/pid files of processes