4f6eb37f6c
Sepolicy for the usb daemon. (ag/3373886/) Bug: 63669128 Test: Checked for avc denial messages. Change-Id: I6e2a4ccf597750c47e1ea90c4d43581de4afa4af
12 lines
260 B
Text
12 lines
260 B
Text
typeattribute usbd coredomain;
|
|
|
|
init_daemon_domain(usbd)
|
|
|
|
# Access usb gadget hal
|
|
hal_client_domain(usbd, hal_usb_gadget)
|
|
|
|
# Access persist.sys.usb.config
|
|
get_prop(usbd, system_prop)
|
|
|
|
# start adbd during boot if adb is enabled
|
|
set_prop(usbd, ctl_default_prop)
|