android_device_oneplus_dre/sepolicy/private/hal_trust_sdm845.te
Luca Stefani 53fecbf169 sdm845-common: Add and build trust HAL
Change-Id: I6ffdcd0cae2afb1b1e872152f7997da704ad74dc
2019-02-04 20:47:31 +01:00

12 lines
428 B
Text

type hal_trust_sdm845, coredomain, domain;
hal_server_domain(hal_trust_sdm845, hal_lineage_trust)
type hal_trust_sdm845_exec, exec_type, file_type;
init_daemon_domain(hal_trust_sdm845)
# Talk to the binder device node
allow hal_trust_sdm845 binder_device:chr_file rw_file_perms;
# Allow access to otg toggle node
allow hal_trust_sdm845 sysfs_usb_supply:dir search;
allow hal_trust_sdm845 sysfs_usb_supply:file rw_file_perms;