platform_system_sepolicy/public/hal_nfc.te
Steven Moreland a25192262b haldomain: add hwbinder_use
All hals need to use hwbinder.

Test: no additional denials
Bug: 34180936
Change-Id: Ie92cdbd79fc75062c4afa4cda53cb57ccde7e370
2017-01-18 09:47:50 -08:00

12 lines
348 B
Text

# call into NFC process (callbacks)
binder_call(hal_nfc, nfc)
# Set NFC properties (used by bcm2079x HAL).
set_prop(hal_nfc, nfc_prop)
# NFC device access.
allow hal_nfc nfc_device:chr_file rw_file_perms;
# Data file accesses.
allow hal_nfc nfc_data_file:dir create_dir_perms;
allow hal_nfc nfc_data_file:notdevfile_class_set create_file_perms;