xref: /aosp_15_r20/system/sepolicy/public/su.te (revision e4a36f4174b17bbab9dc043f4a65dc8d87377290)
1# Domain used for su processes, as well as for adbd and adb shell
2# after performing an adb root command.
3
4# All types must be defined regardless of build variant to ensure
5# policy compilation succeeds with userdebug/user combination at boot
6type su, domain;
7
8# File types must be defined for file_contexts.
9type su_exec, system_file_type, exec_type, file_type;
10
11# system/sepolicy/public is for vendor-facing type and attribute definitions.
12# DO NOT ADD allow, neverallow, or dontaudit statements here.
13# Instead, add such policy rules to system/sepolicy/private/*.te.
14