blob: 2a3d0075d6e372ca9ea4d3a1083fc65649db1977 [file] [log] [blame]
Stephen Smalley2dd4e512012-01-04 12:33:27 -05001type su, domain;
Stephen Smalley01301542013-09-27 10:38:14 -04002type su_exec, exec_type, file_type;
Stephen Smalley2dd4e512012-01-04 12:33:27 -05003domain_auto_trans(shell, su_exec, su)
4
Nick Kralevich09e6abd2013-12-13 22:19:45 -08005# Allow dumpstate to call su on userdebug / eng builds to collect
6# additional information.
7domain_auto_trans(dumpstate, su_exec, su)
8
Stephen Smalley2dd4e512012-01-04 12:33:27 -05009# su is unconfined.
10unconfined_domain(su)
Stephen Smalleyd99e6d52013-12-02 14:18:11 -050011
12# su is also permissive to permit setenforce.
13permissive su;