From: Jan Altensen Date: Sun, 16 Jul 2023 10:28:48 +0000 (+0200) Subject: exynos9610: sepolicy: fixup charging_enabled sysfs permissions X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=33fc8f216db1a24c61b3f2e5d1f077775c02adef;p=GitHub%2FLineageOS%2Fandroid_device_motorola_exynos9610-common.git exynos9610: sepolicy: fixup charging_enabled sysfs permissions Change-Id: I4fe7ffa43ef5b988f5083f12176dfea06726bf7e --- 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