summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2019-11-27 22:36:17 +0000
committerBruno Martins <bgcngm@gmail.com>2020-04-19 01:29:10 +0200
commit0ead839fc48e90e55f0ca241590612213fdb8718 (patch)
tree70482e699afde58074d3fe51d4e3c4c0b1bf745d
parenta771885a29664539554cc39d48819d37d39252d8 (diff)
downloadandroid_device_lineage_sepolicy-0ead839fc48e90e55f0ca241590612213fdb8718.tar.gz
android_device_lineage_sepolicy-0ead839fc48e90e55f0ca241590612213fdb8718.tar.bz2
android_device_lineage_sepolicy-0ead839fc48e90e55f0ca241590612213fdb8718.zip
lineage: Assign bash the same label as the default shell
This way we avoid duplicating existing rules just for bash to work properly when set as the default shell. Change-Id: Ifcd8271b1e2edf80ba0dd8f1344e09b5e9d10786
-rw-r--r--common/private/file_contexts3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/private/file_contexts b/common/private/file_contexts
index d6708f8..09da0f6 100644
--- a/common/private/file_contexts
+++ b/common/private/file_contexts
@@ -21,3 +21,6 @@
# ADB Root
/system/bin/adb_root u:object_r:adbroot_exec:s0
/data/adbroot(/.*)? u:object_r:adbroot_data_file:s0
+
+# Bash
+/system/xbin/bash u:object_r:shell_exec:s0