1type nanoapp_cmd, domain;
2type nanoapp_cmd_exec, exec_type, vendor_file_type, file_type;
3
4init_daemon_domain(nanoapp_cmd)
5
6allow nanoapp_cmd sensors_device:chr_file rw_file_perms;
7allow nanoapp_cmd sysfs_nanoapp_cmd:dir search;
8allow nanoapp_cmd sysfs_nanoapp_cmd:file rw_file_perms;
9