• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1type time_daemon, domain, mlstrustedsubject;
2type time_daemon_exec, exec_type, vendor_file_type, file_type;
3type time_data_file, file_type, data_file_type;
4
5init_daemon_domain(time_daemon)
6
7allow time_daemon mnt_vendor_file:dir r_dir_perms;
8allow time_daemon persist_file:dir r_dir_perms;
9allow time_daemon persist_time_file:dir rw_dir_perms;
10allow time_daemon persist_time_file:file create_file_perms;
11allow time_daemon rtc_device:chr_file r_file_perms;
12allow time_daemon self:qipcrtr_socket create_socket_perms_no_ioctl;
13allow time_daemon sysfs_msm_subsys:dir r_dir_perms;
14allow time_daemon sysfs_soc:dir r_dir_perms;
15allow time_daemon sysfs_soc:file r_file_perms;
16allow time_daemon sysfs_ssr:file r_file_perms;
17allow time_daemon time_data_file:dir rw_dir_perms;
18allow time_daemon time_data_file:file create_file_perms;
19
20allow time_daemon self:capability sys_time;
21