sepolicy_vndr: add sepolicy for spdaemon to use wake-lock
allow spdaemon daemon to access wake-lock sysfs nodes Change-Id: I2af3b37387d2de35a37848a8aab667bf968423ed Signed-off-by: sganda <quic_sganda@quicinc.com>
This commit is contained in:
parent
145726016f
commit
67783127fa
1 changed files with 2 additions and 0 deletions
2
qva/vendor/common/spdaemon.te
vendored
2
qva/vendor/common/spdaemon.te
vendored
|
@ -78,3 +78,5 @@ allow vendor_spdaemon vendor_vm_cp_spss_sp_shared_device:chr_file r_file_perms;
|
|||
allow vendor_spdaemon vendor_vm_cp_spss_hlos_shared_device:chr_file r_file_perms;
|
||||
allow vendor_spdaemon vendor_membuf_dev:chr_file r_file_perms;
|
||||
|
||||
# Access to wakelock sysfs
|
||||
wakelock_use(vendor_spdaemon)
|
||||
|
|
Loading…
Reference in a new issue