1# spdaemon service 2type spdaemon, domain; 3 4type spdaemon_exec, exec_type, vendor_file_type, file_type; 5 6init_daemon_domain(spdaemon) 7 8allow spdaemon sysfs_soc:dir search; 9allow spdaemon sysfs_soc:file r_file_perms; 10allow spdaemon sysfs_spss:dir search; 11allow spdaemon sysfs_spss:file r_file_perms; 12allow spdaemon spcom_device:chr_file rw_file_perms; 13allow spdaemon ion_device:chr_file rw_file_perms; 14allow spdaemon skp_device:chr_file rw_file_perms; 15allow spdaemon spdaemon_ssr_device:chr_file rw_file_perms; 16 17set_prop(spdaemon, spcomlib_prop) 18