diff options
author | Christopher Ferris <cferris@google.com> | 2015-01-29 12:11:55 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2015-02-04 14:19:26 -0800 |
commit | 5ec38c49e3b61b8a3228b56278e85fc276eaec6b (patch) | |
tree | c8a5444564b480dd5d6198b9ce5c7022d00c9db6 /su.te | |
parent | bba18381039dbe45f6acce61d6be1ea7abb2fb06 (diff) | |
download | android_external_sepolicy-5ec38c49e3b61b8a3228b56278e85fc276eaec6b.tar.gz android_external_sepolicy-5ec38c49e3b61b8a3228b56278e85fc276eaec6b.tar.bz2 android_external_sepolicy-5ec38c49e3b61b8a3228b56278e85fc276eaec6b.zip |
Dumpstate runs the same from shell as service.
Without this change, any selinux warning you might get when running
dumpstate from init do not show up when running from the shell
as root. This change makes them run the same.
Change-Id: I6b74e0f6f48f47952a2dbe7728b1853008f60dbb
Diffstat (limited to 'su.te')
-rw-r--r-- | su.te | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ userdebug_or_eng(` # additional information. domain_auto_trans(dumpstate, su_exec, su) + # Make sure that dumpstate runs the same from the "su" domain as + # from the "init" domain. + domain_auto_trans(su, dumpstate_exec, dumpstate) + # su is also permissive to permit setenforce. permissive su; |