From acdbf76688eb8082d92fecaf2a09e93cf37144c4 Mon Sep 17 00:00:00 2001
From: Werner Sembach <werner.sembach@fau.de>
Date: Fri, 7 Sep 2018 14:24:07 +0200
Subject: [PATCH] Make /dev/klist accessible to non root users

Change-Id: Ie537553da13dc841811b7aa789e95a194e470c78
---
 rootdir/init.rc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/rootdir/init.rc b/rootdir/init.rc
index df60f6582d..d868ac7b6d 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -238,6 +238,9 @@ on init
 
     # set RLIMIT_NICE to allow priorities from 19 to -20
     setrlimit 13 40 40
+    
+    # make KList accessible to all users
+    chmod 0666 /dev/klist
 
 # Healthd can trigger a full boot from charger mode by signaling this
 # property when the power button is held.
-- 
GitLab