android_device_oneplus_dre/sepolicy/private/hal_trust_sdm845.te
LuK1337 b687e1a04f sdm845-common: sepolicy: Drop unnecessary HAL rules
* coredomain can write to binder device without granting anything.

Change-Id: Ie657d1e79702b557f00376d31f87d33e104eaf3d
2019-06-17 11:09:51 +02:00

9 lines
333 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)
# 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;