1type location, domain, domain_deprecated; 2type location_exec, exec_type, file_type; 3 4# Started by init 5init_daemon_domain(location) 6 7allow location location_exec:file rx_file_perms; 8 9allow location self:capability { setuid setgid net_raw }; 10 11allow location self:socket create_socket_perms; 12 13binder_use(location) 14binder_call(location, system_server) 15allow location sensorservice_service:service_manager find; 16 17allow location system_server:unix_stream_socket { read write }; 18 19# slim_daemon 20allow location sysfs_msm_subsys:dir r_dir_perms; 21allow location sysfs_msm_subsys:lnk_file rw_file_perms; 22 23qmux_socket(location) 24