am d5892b4c: Allow shell to read /proc/pid/attr/current for ps -Z.
* commit 'd5892b4c3151721f032e75979161bddb89b3a146':
Allow shell to read /proc/pid/attr/current for ps -Z.
diff --git a/shell.te b/shell.te
index 8cfe9ac..cfadf77 100644
--- a/shell.te
+++ b/shell.te
@@ -66,6 +66,9 @@
allow shell domain:dir { search open read getattr };
allow shell domain:{ file lnk_file } { open read getattr };
+# allow shell to read /proc/pid/attr/current for ps -Z
+allow shell domain:process getattr;
+
# 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