Stephen Smalley | 2dd4e51 | 2012-01-04 12:33:27 -0500 | [diff] [blame] | 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; |
Stephen Smalley | f794823 | 2012-03-19 15:56:01 -0400 | [diff] [blame] | 11 | |
| 12 | allow nfc sysfs_nfc_power_writable:file rw_file_perms; |
William Roberts | f6f8710 | 2012-06-07 11:52:51 -0400 | [diff] [blame] | 13 | allow nfc sysfs:file write; |