Merge "Allow adbd to pull sepolicy from device."

am: 7a46e73cb6

* commit '7a46e73cb6c2b65569c04b5be5fb8d3fba05752e':
  Allow adbd to pull sepolicy from device.
This commit is contained in:
Daniel Cashman 2016-01-13 01:17:35 +00:00 committed by android-build-merger
commit 2e40b7471c

View file

@ -86,6 +86,9 @@ allow adbd appdomain:unix_stream_socket connectto;
allow adbd zygote_exec:file r_file_perms; allow adbd zygote_exec:file r_file_perms;
allow adbd system_file:file r_file_perms; allow adbd system_file:file r_file_perms;
# Allow pulling the SELinux policy for CTS purposes
allow adbd selinuxfs:dir r_dir_perms;
allow adbd selinuxfs:file r_file_perms;
allow adbd kernel:security read_policy; allow adbd kernel:security read_policy;
allow adbd surfaceflinger_service:service_manager find; allow adbd surfaceflinger_service:service_manager find;