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