blob: efb1a14b556d77fd11719f0bb0ee03df95adea7a [file] [log] [blame]
Stephen Smalley2dd4e512012-01-04 12:33:27 -05001# nfc subsystem
2type nfc, domain;
Stephen Smalley56370992013-10-23 13:12:55 -04003permissive nfc;
Stephen Smalley2dd4e512012-01-04 12:33:27 -05004app_domain(nfc)
Stephen Smalley56370992013-10-23 13:12:55 -04005
6# NFC device access.
7allow nfc nfc_device:chr_file rw_file_perms;
8
9# Data file accesses.
10allow nfc nfc_data_file:dir create_dir_perms;
11allow nfc nfc_data_file:notdevfile_class_set create_file_perms;
12
13allow nfc sysfs_nfc_power_writable:file rw_file_perms;
14allow nfc sysfs:file write;