2012-01-04 18:33:27 +01:00
|
|
|
# nfc subsystem
|
|
|
|
type nfc, domain;
|
|
|
|
app_domain(nfc)
|
2013-10-23 19:12:55 +02:00
|
|
|
|
|
|
|
# NFC device access.
|
|
|
|
allow nfc nfc_device:chr_file rw_file_perms;
|
|
|
|
|
|
|
|
# Data file accesses.
|
|
|
|
allow nfc nfc_data_file:dir create_dir_perms;
|
|
|
|
allow nfc nfc_data_file:notdevfile_class_set create_file_perms;
|
|
|
|
|
|
|
|
allow nfc sysfs_nfc_power_writable:file rw_file_perms;
|
|
|
|
allow nfc sysfs:file write;
|