sdm845-common: Add and build trust HAL

Change-Id: I6ffdcd0cae2afb1b1e872152f7997da704ad74dc
This commit is contained in:
Luca Stefani 2019-02-04 19:37:06 +01:00
commit 53fecbf169
11 changed files with 254 additions and 5 deletions

View file

@ -0,0 +1,12 @@
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;