b35142646d
Change-Id: Id55db9b6614320650c8c61e698f71ddc9f04d086
35 lines
807 B
Plaintext
35 lines
807 B
Plaintext
# Allow hal_power_default to write to dt2w nodes
|
|
allow hal_power_default input_device:dir r_dir_perms;
|
|
allow hal_power_default input_device:chr_file rw_file_perms;
|
|
|
|
r_dir_file(hal_power_default, input_device)
|
|
|
|
allow hal_power_default {
|
|
sysfs_devfreq
|
|
sysfs_msm_subsys
|
|
sysfs_touchpanel
|
|
}:dir search;
|
|
|
|
allow hal_power_default {
|
|
cgroup
|
|
proc
|
|
sysfs_devfreq
|
|
sysfs_devices_system_cpu
|
|
sysfs_graphics
|
|
sysfs_kgsl
|
|
sysfs_msm_subsys
|
|
sysfs_scsi_host
|
|
sysfs_touchpanel
|
|
}:{
|
|
file
|
|
lnk_file
|
|
} rw_file_perms;
|
|
|
|
allow hal_power_default latency_device:chr_file rw_file_perms;
|
|
|
|
# Rule for hal_power_default to access graphics composer process
|
|
unix_socket_connect(hal_power_default, vendor_pps, hal_graphics_composer_default);
|
|
|
|
# To get/set powerhal state property
|
|
set_prop(hal_power_default, power_prop)
|