1 # nfc subsystem 2 type nfc, domain; 3 app_domain(nfc) 4 5 # NFC device access. 6 allow nfc nfc_device:chr_file rw_file_perms; 7 8 # Data file accesses. 9 allow nfc nfc_data_file:dir create_dir_perms; 10 allow nfc nfc_data_file:notdevfile_class_set create_file_perms; 11 12 allow nfc sysfs_nfc_power_writable:file rw_file_perms; 13 allow nfc sysfs:file write; 14