1type time, domain, device_domain_deprecated; 2type time_exec, exec_type, file_type; 3 4# Started by init 5init_daemon_domain(time) 6 7allow time self:capability { setuid setgid }; 8 9 10allow time rtc_device:chr_file r_file_perms; 11allow time alarm_device:chr_file rw_file_perms; 12 13allow time time_data_file:dir rw_dir_perms; 14allow time time_data_file:file create_file_perms; 15allow time sysfs_msm_subsys:dir r_dir_perms; 16allow time sysfs_msm_subsys:lnk_file r_file_perms; 17 18allow time self:socket create_socket_perms; 19allowxperm time self:socket ioctl msm_sock_ipc_ioctls; 20 21userdebug_or_eng(` 22 allow time shared_log_device:chr_file rw_file_perms; 23') 24