aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmeya Thakur <ameyat@codeaurora.org>2017-07-20 11:57:29 -0700
committerCosme Domínguez Díaz <cosme.ddiaz@gmail.com>2018-02-19 21:45:19 +0100
commit9216dd9ffbbee46a4416d91b299e2d2f01bf90fd (patch)
tree4b3eb46a2d1e4b1d78f0b10bc66e5308f71a7da0
parent6686f6a83f0d00c79563846d836b3756b0858fd2 (diff)
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
-rwxr-xr-xrootdir/etc/init.qcom.rc2
1 files changed, 2 insertions, 0 deletions
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