platform_system_sepolicy/public/hal_nfc.te
Steven Moreland 29eed9faea All hal policies expressed as attributes.
Bug: 32123421
Bug: 32905206

Test: compiles, nfc works
Change-Id: Ibf72ef70255573e4df0863ea640354b3c37eb47d
2016-12-13 17:18:27 -08:00

15 lines
389 B
Text

# hwbinder access
hwbinder_use(hal_nfc)
# 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;