allow adbd to set sys.usb.ffs.ready
Needed for https://android-review.googlesource.com/147730 Change-Id: Iceb87f210e4c5d0f39426cc6c96a216a4644eaa9
This commit is contained in:
parent
934cf6eaf0
commit
caefbd71c5
3 changed files with 4 additions and 1 deletions
3
adbd.te
3
adbd.te
|
@ -41,10 +41,11 @@ allow adbd sdcard_type:file create_file_perms;
|
||||||
allow adbd anr_data_file:dir r_dir_perms;
|
allow adbd anr_data_file:dir r_dir_perms;
|
||||||
allow adbd anr_data_file:file r_file_perms;
|
allow adbd anr_data_file:file r_file_perms;
|
||||||
|
|
||||||
# Set service.adb.*, sys.powerctl properties.
|
# Set service.adb.*, sys.powerctl, and sys.usb.ffs.ready properties.
|
||||||
unix_socket_connect(adbd, property, init)
|
unix_socket_connect(adbd, property, init)
|
||||||
allow adbd shell_prop:property_service set;
|
allow adbd shell_prop:property_service set;
|
||||||
allow adbd powerctl_prop:property_service set;
|
allow adbd powerctl_prop:property_service set;
|
||||||
|
allow adbd ffs_prop:property_service set;
|
||||||
|
|
||||||
# Run /system/bin/bu
|
# Run /system/bin/bu
|
||||||
allow adbd system_file:file rx_file_perms;
|
allow adbd system_file:file rx_file_perms;
|
||||||
|
|
|
@ -4,6 +4,7 @@ type debug_prop, property_type;
|
||||||
type debuggerd_prop, property_type;
|
type debuggerd_prop, property_type;
|
||||||
type dhcp_prop, property_type;
|
type dhcp_prop, property_type;
|
||||||
type fingerprint_prop, property_type;
|
type fingerprint_prop, property_type;
|
||||||
|
type ffs_prop, property_type;
|
||||||
type radio_prop, property_type;
|
type radio_prop, property_type;
|
||||||
type net_radio_prop, property_type;
|
type net_radio_prop, property_type;
|
||||||
type system_radio_prop, property_type;
|
type system_radio_prop, property_type;
|
||||||
|
|
|
@ -20,6 +20,7 @@ runtime. u:object_r:system_prop:s0
|
||||||
hw. u:object_r:system_prop:s0
|
hw. u:object_r:system_prop:s0
|
||||||
sys. u:object_r:system_prop:s0
|
sys. u:object_r:system_prop:s0
|
||||||
sys.powerctl u:object_r:powerctl_prop:s0
|
sys.powerctl u:object_r:powerctl_prop:s0
|
||||||
|
sys.usb.ffs. u:object_r:ffs_prop:s0
|
||||||
service. u:object_r:system_prop:s0
|
service. u:object_r:system_prop:s0
|
||||||
wlan. u:object_r:system_prop:s0
|
wlan. u:object_r:system_prop:s0
|
||||||
dhcp. u:object_r:dhcp_prop:s0
|
dhcp. u:object_r:dhcp_prop:s0
|
||||||
|
|
Loading…
Reference in a new issue