diff options
author | Dan Pasanen <invisiblek@cyanogenmod.org> | 2016-06-06 08:21:44 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-06-21 12:23:51 -0700 |
commit | 2b8c4b27fe5efe25e978bea86c28dae98c6ee047 (patch) | |
tree | 9829c1796830de57cef9a75ebccb133eb1ec7a06 /sepolicy | |
parent | 7454cd9981254c9b5c201b40cffc36a23f6cad43 (diff) | |
download | vendor_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_contexts | 3 |
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 |