From 1207730aa7c03996fbbb7e8bec17c82b0cb68938 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 2 Sep 2018 18:15:49 +0200 Subject: [PATCH] sdm845-common: sepolicy: Allow init to chown/chmod on pseudo files in /sys Change-Id: Idf9cca465b9db3cfc9714ce170c5bf965968f79d --- sepolicy/private/init.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/private/init.te b/sepolicy/private/init.te index b4f2343..b6e2555 100644 --- a/sepolicy/private/init.te +++ b/sepolicy/private/init.te @@ -1,2 +1,5 @@ # Allow init to mount wlan kernel module allow init vendor_file:file mounton; + +# Allow init to chown/chmod on pseudo files in /sys +allow init sysfs_type:file { open read setattr };