mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Bug: 36463595 Test: lunch walleye-userdebug && make sepolicy Change-Id: I7ec48b3109d66f9537e5834933ed28aa76da367e Signed-off-by: Sandeep Patil <sspatil@google.com>
24 lines
665 B
Plaintext
24 lines
665 B
Plaintext
type init_power, domain, vendor_executes_system_violators;
|
|
type init_power_exec, exec_type, vendor_file_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;
|
|
|
|
r_dir_file(init_power, sysfs_msm_subsys)
|
|
|
|
allow init_power sysfs_msm_subsys:file write;
|
|
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;
|
|
')
|