From 9216dd9ffbbee46a4416d91b299e2d2f01bf90fd Mon Sep 17 00:00:00 2001 From: Ameya Thakur Date: Thu, 20 Jul 2017 11:57:29 -0700 Subject: msm8996-common: Update the permission of the kmsg node pd-mapper needs to be able to write the pd error string to the kmsg buffer. It runs under the system user. Change-Id: Ic52682f8151d10c4e6ffdc2b3ed4bc2183ebd6f6 --- rootdir/etc/init.qcom.rc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 23f4df4..4d9bfac 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -30,6 +30,8 @@ import /vendor/etc/init/hw/init.qcom.usb.rc on early-init mount debugfs debugfs /sys/kernel/debug chmod 0755 /sys/kernel/debug + chown root system /dev/kmsg + chmod 0620 /dev/kmsg mkdir /firmware 0771 system system mkdir /bt_firmware 0771 system system -- cgit v1.2.3