summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--common/sepolicy/adbd.te1
-rw-r--r--common/sepolicy/charger.te2
-rw-r--r--common/sepolicy/firmload.te4
-rw-r--r--common/sepolicy/recovery.te34
-rw-r--r--common/sepolicy/shell.te3
-rw-r--r--common/sepolicy/system_app.te5
6 files changed, 43 insertions, 6 deletions
diff --git a/common/sepolicy/shell.te b/common/sepolicy/shell.te
index 5c3da9a..d1444a2 100644
--- a/common/sepolicy/shell.te
+++ b/common/sepolicy/shell.te
@@ -1,6 +1,5 @@
-allow shell rootfs:file { entrypoint };
+allow shell rootfs:file { entrypoint execute read getattr };
allow shell sysfs:file { read open getattr };
-
allow shell hdcptx_device:chr_file { open read write getattr ioctl };