summaryrefslogtreecommitdiffstats
path: root/sepolicy
diff options
context:
space:
mode:
authorDan Pasanen <invisiblek@cyanogenmod.org>2016-06-06 08:21:44 -0500
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-06-21 12:23:51 -0700
commit2b8c4b27fe5efe25e978bea86c28dae98c6ee047 (patch)
tree9829c1796830de57cef9a75ebccb133eb1ec7a06 /sepolicy
parent7454cd9981254c9b5c201b40cffc36a23f6cad43 (diff)
downloadvendor_replicant-2b8c4b27fe5efe25e978bea86c28dae98c6ee047.zip
vendor_replicant-2b8c4b27fe5efe25e978bea86c28dae98c6ee047.tar.gz
vendor_replicant-2b8c4b27fe5efe25e978bea86c28dae98c6ee047.tar.bz2
sepolicy: put bash in shell context
* Necessary for being able to execute commands such as 'su' from a non-root shell Change-Id: Icbaaa6ff7447add65441011944bdc5d13b788c86
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/file_contexts3
1 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 0a54e3a..706c84a 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -52,3 +52,6 @@
# fsck
/system/bin/fsck\.ntfs u:object_r:fsck_exec:s0
/system/bin/fsck\.exfat u:object_r:fsck_exec:s0
+
+# bash
+/system/xbin/bash u:object_r:shell_exec:s0