From d44c7bd9b816bd05fff9ef5e18ba08bed6c34f7f Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sat, 6 Jan 2018 16:24:27 +0100 Subject: [PATCH] msm8976-common: sepolicy: Allow init to setattr on sysfs symlinks * Required for sx9310_grip sensor. --- sepolicy/init.te | 1 + 1 file changed, 1 insertion(+) diff --git a/sepolicy/init.te b/sepolicy/init.te index a26a025..fde6883 100644 --- a/sepolicy/init.te +++ b/sepolicy/init.te @@ -1,2 +1,3 @@ allow init { domain -lmkd -crash_dump }:process noatsecure; allow init debugfs:file write; +allow init sysfs:lnk_file setattr;