sepolicy: Allow adb pull of executables without root

* Because we aren't actually jerks, contrary to popular belief.

Change-Id: Ie39cce65ecc6a2861547865ff554b108b8b534fa
This commit is contained in:
Steve Kondik 2015-11-29 05:28:14 -08:00
parent 3463bd0b78
commit e01646719a
1 changed files with 14 additions and 0 deletions

14
sepolicy/qcom/adbd.c Normal file
View File

@ -0,0 +1,14 @@
# Allow pulling various binaries without root
# (cause we're awesome like that)
allow adbd adsprpcd_exec:file r_file_perms;
allow adbd location_exec:file r_file_perms;
allow adbd mm-qcamerad_exec:file r_file_perms;
allow adbd mpdecision_exec:file r_file_perms;
allow adbd perfd_exec:file r_file_perms;
allow adbd rfs_access_exec:file r_file_perms;
allow adbd rmt_storage_exec:file r_file_perms;
allow adbd sensors_exec:file r_file_perms;
allow adbd tee_exec:file r_file_perms;
allow adbd thermal-engine_exec:file r_file_perms;
allow adbd time_daemon_exec:file r_file_perms;