Home | History | Annotate | Download | only in sepolicy
      1 # bootstat command
      2 type bootstat, domain;
      3 type bootstat_exec, exec_type, file_type;
      4 
      5 init_daemon_domain(bootstat)
      6 
      7 # Allow persistent storage in /data/misc/bootstat.
      8 allow bootstat bootstat_data_file:dir rw_dir_perms;
      9 allow bootstat bootstat_data_file:file create_file_perms;
     10 
     11 # Read access to pseudo filesystems (for /proc/uptime).
     12 r_dir_file(bootstat, proc)