sdm845-common: Add and build trust HAL
Change-Id: I6ffdcd0cae2afb1b1e872152f7997da704ad74dc
This commit is contained in:
parent
4ad2b3e4fa
commit
53fecbf169
11 changed files with 254 additions and 5 deletions
12
sepolicy/private/hal_trust_sdm845.te
Normal file
12
sepolicy/private/hal_trust_sdm845.te
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue