From 33fc8f216db1a24c61b3f2e5d1f077775c02adef Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Sun, 16 Jul 2023 12:28:48 +0200 Subject: [PATCH] exynos9610: sepolicy: fixup charging_enabled sysfs permissions Change-Id: I4fe7ffa43ef5b988f5083f12176dfea06726bf7e --- sepolicy/vendor/genfs_contexts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sepolicy/vendor/genfs_contexts b/sepolicy/vendor/genfs_contexts index b61aadc..5ccd39f 100644 --- a/sepolicy/vendor/genfs_contexts +++ b/sepolicy/vendor/genfs_contexts @@ -21,7 +21,6 @@ genfscon proc /sys/vm/swappiness genfscon sysfs /class/power_supply/battery/charge_temp u:object_r:sysfs_battery_writable:s0 genfscon sysfs /class/power_supply/battery/charging_enabled u:object_r:sysfs_battery_writable:s0 -genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu00x-battery/power_supply/battery/charging_enabled u:object_r:sysfs_battery_writable:s0 genfscon sysfs /devices/platform/11500000.mali/dvfs_max_lock u:object_r:sysfs_mali_writable:s0 genfscon sysfs /devices/platform/11500000.mali/dvfs_min_lock u:object_r:sysfs_mali_writable:s0 genfscon sysfs /devices/platform/11a10000.speedy/i2c-6/6-0000/s2mpu09-rtc/rtc/rtc0/hctosys u:object_r:sysfs_rtc:s0 @@ -42,6 +41,7 @@ genfscon sysfs /devices/platform/13830000.i2c/i2c-8/8-003c/power_supply genfscon sysfs /devices/platform/13840000.i2c/i2c-8/8-003d/leds-s2mu106/leds u:object_r:sysfs_leds:s0 genfscon sysfs /devices/platform/13840000.i2c/i2c-8/8-003d/s2mu00x-battery/power_supply u:object_r:sysfs_battery:s0 genfscon sysfs /devices/platform/13840000.i2c/i2c-8/8-003d/s2mu00x-battery/power_supply/battery/charge_control_limit u:object_r:sysfs_battery_writable:s0 +genfscon sysfs /devices/platform/13840000.i2c/i2c-8/8-003d/s2mu00x-battery/power_supply/battery/charging_enabled u:object_r:sysfs_battery_writable:s0 genfscon sysfs /devices/platform/13840000.i2c/i2c-8/8-003d/s2mu00x-battery/power_supply/battery/technology u:object_r:sysfs_battery_writable:s0 genfscon sysfs /devices/platform/13840000.i2c/i2c-8/8-003d/s2mu00x-battery/power_supply/battery/temp u:object_r:sysfs_battery_writable:s0 genfscon sysfs /devices/platform/13840000.i2c/i2c-8/8-003d/s2mu106-charger/power_supply u:object_r:sysfs_battery:s0 @@ -51,6 +51,7 @@ genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/leds-s2mu106/leds genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu00x-battery/factory_charge_upper u:object_r:sysfs_battery:s0 genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu00x-battery/power_supply u:object_r:sysfs_battery:s0 genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu00x-battery/power_supply/battery/charge_control_limit u:object_r:sysfs_battery_writable:s0 +genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu00x-battery/power_supply/battery/charging_enabled u:object_r:sysfs_battery_writable:s0 genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu00x-battery/power_supply/battery/technology u:object_r:sysfs_battery_writable:s0 genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu00x-battery/power_supply/battery/temp u:object_r:sysfs_battery_writable:s0 genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu106-charger/power_supply u:object_r:sysfs_battery:s0 -- 2.20.1