blob: 9a354bb58a1b8216d7ba08a45e70e8f4823bc181 [file] [log] [blame]
Stephen Smalley2dd4e512012-01-04 12:33:27 -05001# nfc subsystem
2type nfc, domain;
3app_domain(nfc)
4
5# NFC device access.
6allow nfc nfc_device:chr_file rw_file_perms;
7
8# Data file accesses.
9allow nfc nfc_data_file:dir create_dir_perms;
10allow nfc nfc_data_file:notdevfile_class_set create_file_perms;
Stephen Smalleyf7948232012-03-19 15:56:01 -040011
12allow nfc sysfs_nfc_power_writable:file rw_file_perms;
William Robertsf6f87102012-06-07 11:52:51 -040013allow nfc sysfs:file write;