blob: d0e4d83fd28e3538f379253c72c7b1271be704b3 [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;
Nick Kralevich629c98c2014-02-05 11:25:24 -080015
16allow nfc sdcard_type:dir create_dir_perms;
17allow nfc sdcard_type:file create_file_perms;