diff options
author | Nick Kralevich <nnk@google.com> | 2014-01-09 15:25:36 -0800 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2014-01-09 15:31:37 -0800 |
commit | 88ce951d89c4c4ad4d870ca34cc5bdcc8b60f54d (patch) | |
tree | 7c6b49a3b29deced21e0ea638df5b736bda6bc29 /shell.te | |
parent | 39fd7818b34c5e1c7e6e27aaa064d83b24733307 (diff) | |
download | android_external_sepolicy-88ce951d89c4c4ad4d870ca34cc5bdcc8b60f54d.tar.gz android_external_sepolicy-88ce951d89c4c4ad4d870ca34cc5bdcc8b60f54d.tar.bz2 android_external_sepolicy-88ce951d89c4c4ad4d870ca34cc5bdcc8b60f54d.zip |
Create new conditional userdebug_or_eng
Create a new m4 macro called userdebug_or_eng. Arguments
passed to this macro are only emitted if we're performing
a userdebug or eng build.
Merge shell.te and shell_user.te and eliminate duplicate
lines. Same for su.te and su_user.te
Change-Id: I8fbabca65ec392aeafd5b90cef57b5066033fad0
Diffstat (limited to 'shell.te')
-rw-r--r-- | shell.te | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -9,7 +9,9 @@ net_domain(shell) # XXX Transition into its own domain? app_domain(shell) -# userdebug/eng shell is also permissive to permit setenforce. -permissive shell; +userdebug_or_eng(` + # userdebug/eng shell is also permissive to permit setenforce. + permissive shell; +') # inherits from shelldomain.te |