From 2b8c4b27fe5efe25e978bea86c28dae98c6ee047 Mon Sep 17 00:00:00 2001 From: Dan Pasanen Date: Mon, 6 Jun 2016 08:21:44 -0500 Subject: sepolicy: put bash in shell context * Necessary for being able to execute commands such as 'su' from a non-root shell Change-Id: Icbaaa6ff7447add65441011944bdc5d13b788c86 --- sepolicy/file_contexts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sepolicy/file_contexts') diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 0a54e3a7..706c84a9 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 -- cgit v1.2.3