summaryrefslogtreecommitdiff
path: root/sepolicy/whitechapel/vendor/google/shell.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/whitechapel/vendor/google/shell.te')
-rw-r--r--sepolicy/whitechapel/vendor/google/shell.te11
1 files changed, 11 insertions, 0 deletions
diff --git a/sepolicy/whitechapel/vendor/google/shell.te b/sepolicy/whitechapel/vendor/google/shell.te
new file mode 100644
index 00000000..e13e744e
--- /dev/null
+++ b/sepolicy/whitechapel/vendor/google/shell.te
@@ -0,0 +1,11 @@
+allow shell eco_service:service_manager find;
+
+# Allow access to the SJTAG kernel interface from the shell
+userdebug_or_eng(`
+ allow shell sysfs_sjtag:dir r_dir_perms;
+ allow shell sysfs_sjtag:file rw_file_perms;
+')
+
+dontaudit shell proc_vendor_sched:dir search;
+dontaudit shell proc_vendor_sched:file write;
+dontaudit shell sysfs_wlc:dir search;