Files
device_google_wahoo/sepolicy/init_power.te
2017-04-04 18:10:40 +00:00

23 lines
629 B
Plaintext

type init_power, domain;
type init_power_exec, exec_type, file_type;
init_daemon_domain(init_power)
set_prop(init_power, post_boot_prop)
allow init_power shell_exec:file rx_file_perms;
allow init_power toolbox_exec:file rx_file_perms;
allow init_power sysfs_msm_subsys:dir r_dir_perms;
allow init_power sysfs_msm_subsys:file w_file_perms;
allow init_power sysfs_thermal:dir search;
allow init_power sysfs_thermal:file w_file_perms;
allow init_power sysfs_devices_system_cpu:file w_file_perms;
allow init_power sysfs_soc:file r_file_perms;
allow init_power sysfs_soc:dir search;
userdebug_or_eng(`
permissive init_power;
')