1type init_power, domain;
2type init_power_exec, exec_type, vendor_file_type, file_type;
3
4init_daemon_domain(init_power)
5
6set_prop(init_power, post_boot_prop)
7
8allow init_power vendor_shell_exec:file rx_file_perms;
9allow init_power vendor_toolbox_exec:file rx_file_perms;
10
11r_dir_file(init_power, sysfs_msm_subsys)
12
13allow init_power sysfs_msm_subsys:file write;
14allow init_power sysfs_thermal:dir search;
15allow init_power sysfs_thermal:file w_file_perms;
16allow init_power sysfs_devices_system_cpu:file w_file_perms;
17allow init_power sysfs_soc:file r_file_perms;
18allow init_power sysfs_soc:dir search;
19allow init_power sysfs_console_suspend:file w_file_perms;
20