From 050d51de511d6fd5628439fb15685899cfd9749b Mon Sep 17 00:00:00 2001 From: Vijayakumar Badiger <vbadig@codeaurora.org> Date: Mon, 9 Sep 2019 08:15:32 +0200 Subject: [PATCH] onclite: rootdir: Add lcd density hab node permission Change-Id: If9bfcbf21b0b3933cd2d0f567384de0c4685d044 Signed-off-by: Dhina17 <dhinalogu@gmail.com> --- rootdir/init.qcom.rc | 7 ++++++- rootdir/ueventd.qcom.rc | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 0204466..34847cb 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -32,9 +32,14 @@ import /vendor/etc/init/hw/init.target.rc on early-init mount debugfs debugfs /sys/kernel/debug chmod 0755 /sys/kernel/debug + + # Change ownership of sw_sync node + chown system graphics /sys/kernel/debug/sync/sw_sync + chmod 0666 /sys/kernel/debug/sync/sw_sync + chown root system /dev/kmsg chmod 0620 /dev/kmsg - + on init # Create cgroup mount point for memory mkdir /sys/fs/cgroup/memory/bg 0750 root system diff --git a/rootdir/ueventd.qcom.rc b/rootdir/ueventd.qcom.rc index fb227f7..70c8404 100644 --- a/rootdir/ueventd.qcom.rc +++ b/rootdir/ueventd.qcom.rc @@ -56,6 +56,7 @@ firmware_directories /vendor/firmware_mnt/image/ /dev/ipa_odl_ctl 0660 radio radio /dev/ipa_adpl 0660 system oem_2905 /dev/synx_device 0660 root camera +/dev/hab 0666 system system #permissions for CSVT /dev/smd11 0660 radio radio -- GitLab