platform_system_sepolicy/su.te

18 lines
420 B
Text
Raw Normal View History

# File types must be defined for file_contexts.
type su_exec, exec_type, file_type;
2012-01-04 18:33:27 +01:00
userdebug_or_eng(`
type su, domain;
domain_auto_trans(shell, su_exec, su)
# Allow dumpstate to call su on userdebug / eng builds to collect
# additional information.
domain_auto_trans(dumpstate, su_exec, su)
# su is unconfined.
unconfined_domain(su)
# su is also permissive to permit setenforce.
permissive su;
')