36 lines
927 B
Text
36 lines
927 B
Text
allow hal_power_default {
|
|
vendor_sysfs_devfreq
|
|
vendor_sysfs_dt2w
|
|
vendor_sysfs_input
|
|
vendor_sysfs_msm_subsys
|
|
vendor_sysfs_sensors
|
|
vendor_sysfs_touchpanel
|
|
}:dir search;
|
|
|
|
allow hal_power_default {
|
|
proc
|
|
proc_sched
|
|
vendor_sysfs_devfreq
|
|
proc_sysctl_schedboost
|
|
sysfs_devices_system_cpu
|
|
vendor_sysfs_devfreq
|
|
vendor_sysfs_dt2w
|
|
vendor_sysfs_graphics
|
|
vendor_sysfs_kgsl
|
|
vendor_sysfs_msm_subsys
|
|
vendor_sysfs_scsi_host
|
|
vendor_sysfs_sensors
|
|
vendor_sysfs_touchpanel
|
|
}:{
|
|
file
|
|
lnk_file
|
|
} rw_file_perms;
|
|
|
|
allow hal_power_default vendor_latency_device:chr_file rw_file_perms;
|
|
|
|
# Allow Power HAL to read and write to sde-crtc-*
|
|
allow hal_power_default vendor_sysfs_sde_crtc:file rw_file_perms;
|
|
allow hal_power_default vendor_sysfs_sde_crtc:dir r_dir_perms;
|
|
|
|
# Rule for hal_power_default to access graphics composer process
|
|
unix_socket_connect(hal_power_default, vendor_pps, hal_graphics_composer_default);
|