blob: 0968c3513d135f0596ae06357d79852bb024b28a [file] [log] [blame]
Stephen Smalley2dd4e512012-01-04 12:33:27 -05001# nfc subsystem
2type nfc, domain;
3app_domain(nfc)
Stephen Smalley85708ec2014-02-24 10:48:03 -05004net_domain(nfc)
Nick Kralevich2e7a3012014-01-10 23:05:25 -08005binder_service(nfc)
Stephen Smalley56370992013-10-23 13:12:55 -04006
7# NFC device access.
8allow nfc nfc_device:chr_file rw_file_perms;
9
10# Data file accesses.
11allow nfc nfc_data_file:dir create_dir_perms;
12allow nfc nfc_data_file:notdevfile_class_set create_file_perms;
13
14allow nfc sysfs_nfc_power_writable:file rw_file_perms;
15allow nfc sysfs:file write;