diff options
author | Mayank Rana <mrana@codeaurora.org> | 2016-05-03 18:40:04 -0700 |
---|---|---|
committer | Mayank Rana <mrana@codeaurora.org> | 2016-05-06 16:23:11 -0700 |
commit | 6dfe42b68da6ed4fb999096440ac1994fd2a64ef (patch) | |
tree | e1f14224cc6accd069f78500bc7b04e1c4a15641 /common/property.te | |
parent | 76db2359008aedc7cc9f2ecd12802d0a4991957b (diff) | |
download | android_device_qcom_sepolicy-6dfe42b68da6ed4fb999096440ac1994fd2a64ef.tar.gz android_device_qcom_sepolicy-6dfe42b68da6ed4fb999096440ac1994fd2a64ef.tar.bz2 android_device_qcom_sepolicy-6dfe42b68da6ed4fb999096440ac1994fd2a64ef.zip |
common: Allow init shell script to set USB configfs related properties
init.qcom.usb.sh needs to set sys.usb.controller and sys.usb.configfs
properties for using configfs approach. Hence add required permission
for same to overcome below seen denials.
init: avc: denied { set } for property=sys.usb.configfs pid=3345
uid=0 gid=0 scontext=u:r:qti_init_shell:s0
tcontext=u:object_r:system_radio_prop:s0 tclass=property_service permissive=0
init: avc: denied { set } for property=sys.usb.controller pid=3345
uid=0 gid=0 scontext=u:r:qti_init_shell:s0
tcontext=u:object_r:system_radio_prop:s0 tclass=property_service permissive=0
CRs-Fixed: 1012783
Change-Id: Icfcba0079ec37611a08771c5a83dd5db2ae589d0
Diffstat (limited to 'common/property.te')
-rw-r--r-- | common/property.te | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/property.te b/common/property.te index d486e2ad..d81ea7ea 100644 --- a/common/property.te +++ b/common/property.te @@ -64,6 +64,8 @@ type location_prop, property_type, core_property_type; #properites for init.qcom.sh script type rmnet_mux_prop, property_type, core_property_type; type qemu_hw_mainkeys_prop, property_type, core_property_type; +type sys_usb_controller_prop, property_type; +type sys_usb_configfs_prop, property_type; type coresight_prop, property_type; |