Stephen Smalley | 2dd4e51 | 2012-01-04 12:33:27 -0500 | [diff] [blame] | 1 | # nfc subsystem |
| 2 | type nfc, domain; |
| 3 | app_domain(nfc) |
Stephen Smalley | 85708ec | 2014-02-24 10:48:03 -0500 | [diff] [blame] | 4 | net_domain(nfc) |
Nick Kralevich | 2e7a301 | 2014-01-10 23:05:25 -0800 | [diff] [blame] | 5 | binder_service(nfc) |
Stephen Smalley | 5637099 | 2013-10-23 13:12:55 -0400 | [diff] [blame] | 6 | |
| 7 | # NFC device access. |
| 8 | allow nfc nfc_device:chr_file rw_file_perms; |
| 9 | |
| 10 | # Data file accesses. |
| 11 | allow nfc nfc_data_file:dir create_dir_perms; |
| 12 | allow nfc nfc_data_file:notdevfile_class_set create_file_perms; |
| 13 | |
| 14 | allow nfc sysfs_nfc_power_writable:file rw_file_perms; |
| 15 | allow nfc sysfs:file write; |