sm8150-common: sepolicy: Address more nfc related denials

Change-Id: Id5346567991bfafff8c38b15f8f4f91f59b51fc6
This commit is contained in:
LuK1337 2019-07-10 19:16:22 +02:00
parent 976b64216c
commit a04fbd293f
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,10 @@
# Allow hal_nfc_default to find hal_secure_element_hwservice
allow hal_nfc_default hal_secure_element_hwservice:hwservice_manager find;
# Allow hal_nfc_default to read and write to proc_touchpanel
allow hal_nfc_default proc_touchpanel:dir search;
allow hal_nfc_default proc_touchpanel:file rw_file_perms;
# Allow hal_nfc_default to read, write and create files in nfc_vendor_data_file
allow hal_nfc_default nfc_vendor_data_file:dir search;
allow hal_nfc_default nfc_vendor_data_file:file create_file_perms;

2
sepolicy/vendor/nfc.te vendored Normal file
View File

@ -0,0 +1,2 @@
# Allow nfc to find hal_wiredse_hwservice
allow nfc hal_wiredse_hwservice:hwservice_manager find;