am 25e7b8fc: am b1fb3bd1: am 230cb33f: Make /proc/kmsg and /proc/sysrq-trigger system-process-readable
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 31a9bd7..bf005e6 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -126,6 +126,12 @@
chown root log /proc/vmallocinfo
chmod 0440 /proc/vmallocinfo
+ #change permissions on kmsg & sysrq-trigger so bugreports can grab kthread stacks
+ chown root system /proc/kmsg
+ chmod 0440 /proc/kmsg
+ chown root system /proc/sysrq-trigger
+ chmod 0220 /proc/sysrq-trigger
+
# create basic filesystem structure
mkdir /data/misc 01771 system misc
mkdir /data/misc/bluetoothd 0770 bluetooth bluetooth