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