shell.te: allow pulling the currently running SELinux policy
am: ad22e86740
* commit 'ad22e86740132ba0541506edebb7a6c1da70017b':
shell.te: allow pulling the currently running SELinux policy
diff --git a/shell.te b/shell.te
index a8089d6..e0c318f 100644
--- a/shell.te
+++ b/shell.te
@@ -98,6 +98,10 @@
# allow shell to read /proc/pid/attr/current for ps -Z
allow shell domain:process getattr;
+# Allow pulling the SELinux policy for CTS purposes
+allow shell selinuxfs:dir r_dir_perms;
+allow shell selinuxfs:file r_file_perms;
+
# enable shell domain to read/write files/dirs for bootchart data
# User will creates the start and stop file via adb shell
# and read other files created by init process under /data/bootchart