Skip to content
Snippets Groups Projects
Commit ad22e867 authored by Nick Kralevich's avatar Nick Kralevich
Browse files

shell.te: allow pulling the currently running SELinux policy

Allow pulling the currently running SELinux policy for CTS.

Change-Id: I82ec03724a8e5773b3b693c4f39cc7b5c3ae4516
parent 1d58b2fd
No related branches found
No related tags found
No related merge requests found
...@@ -98,6 +98,10 @@ allow shell domain:{ file lnk_file } { open read getattr }; ...@@ -98,6 +98,10 @@ allow shell domain:{ file lnk_file } { open read getattr };
# allow shell to read /proc/pid/attr/current for ps -Z # allow shell to read /proc/pid/attr/current for ps -Z
allow shell domain:process getattr; 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 # enable shell domain to read/write files/dirs for bootchart data
# User will creates the start and stop file via adb shell # User will creates the start and stop file via adb shell
# and read other files created by init process under /data/bootchart # and read other files created by init process under /data/bootchart
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment