sepolicy: Adding permissions for nfc

Adding perf hal permissions to nfc.te
for legacy and qva

Change-Id: Ic62e0cff34fb7af1778239c1d436a3a25c0cfc01
This commit is contained in:
richagar 2019-05-22 11:09:28 +05:30
parent a233a885d6
commit 5c0dd72f17
2 changed files with 4 additions and 0 deletions

View file

@ -30,3 +30,5 @@ get_prop(nfc, nfc_nq_prop)
#qmux_socket(nfc);
#allow nfc nfc_data_file:file x_file_perms;
allow nfc self:socket create_socket_perms_no_ioctl;
# allow nfc to access perf hal
hal_client_domain(nfc, hal_perf)

View file

@ -27,3 +27,5 @@
# Get NFC properties
get_prop(nfc, vendor_nfc_nq_prop)
# allow nfc to access perf hal
hal_client_domain(nfc, hal_perf)