platform_system_sepolicy/public/hal_nfc.te
Jeff Vander Stoep 27ae545a78 clean up hal types
Bug: 32123421
Test: build Hikey
Change-Id: Iaf02626f3f3a94104c0f9d746c3cf5f20751a27d
2016-10-26 09:50:04 -07:00

19 lines
469 B
Text

# nfc subsystem
type hal_nfc, domain;
type hal_nfc_exec, exec_type, file_type;
# 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;