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