# 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 vendor_nfc_vendor_data_file allow hal_nfc_default vendor_nfc_vendor_data_file:dir search; allow hal_nfc_default vendor_nfc_vendor_data_file:file create_file_perms; # Allow hal_nfc_default to get vendor_nfc_prop get_prop(hal_nfc_default, vendor_nfc_prop) add_hwservice(hal_nfc_default, hal_nxpnfc_hwservice) # Allow access to the Secure Element HALs hal_client_domain(hal_nfc_default, hal_secure_element) # Allow hal_nfc_default to find hal_secure_element_hwservice allow hal_nfc_default hal_secure_element_hwservice:hwservice_manager find;