blob: ca7a89d97cd15863f0e5a8199574d25d48015c16 [file] [log] [blame]
Stephen Smalley2dd4e512012-01-04 12:33:27 -05001# nfc subsystem
2type nfc, domain;
3app_domain(nfc)
Nick Kralevich2e7a3012014-01-10 23:05:25 -08004binder_service(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;