From dea38ce0ebc9fbd42282554603cd97b98c83c655 Mon Sep 17 00:00:00 2001 From: Shirayuki39 Date: Thu, 25 Jul 2024 00:06:21 +0800 Subject: [PATCH] LG8n: sepolicy: Address system_suspend denials Signed-off-by: Shirayuki39 --- sepolicy/private/system_suspend.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sepolicy/private/system_suspend.te b/sepolicy/private/system_suspend.te index f4213b0..c26c85f 100644 --- a/sepolicy/private/system_suspend.te +++ b/sepolicy/private/system_suspend.te @@ -1,3 +1,5 @@ +allow system_suspend sysfs:dir read; allow system_suspend sysfs_wakeup:dir r_dir_perms; +allow system_suspend sysfs_batteryinfo:dir { open read }; allow system_suspend sysfs_battery:dir { open read }; allow system_suspend sysfs_extcon:dir r_dir_perms;