From 6586917049d3fa306c66753bfcbe51cfd5f2fb0f Mon Sep 17 00:00:00 2001 From: Mohammed Mirza Mandayappurath Manzoor Date: Mon, 31 Jan 2022 14:40:10 -0800 Subject: [PATCH] sm6150-common: rootdir: ueventd: Set permissions for KGSL sysfs node Some KGSL sysfs nodes need to be access controlled. Set proper permissions for the same. Change-Id: Idc7e2447d02742074873901c6539f2c6d9d25862 --- rootdir/etc/ueventd.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/etc/ueventd.rc b/rootdir/etc/ueventd.rc index 8cc2fcb..a750085 100644 --- a/rootdir/etc/ueventd.rc +++ b/rootdir/etc/ueventd.rc @@ -167,6 +167,9 @@ firmware_directories /vendor/firmware_mnt/image/ /sys/devices/virtual/hdcp/msm_hdcp min_level_change 0664 system graphics +# KGSL +/sys/class/kgsl/kgsl-3d0 perfcounter 0660 root shell + /sys/devices/platform/soc/ae00000.qcom,mdss_mdp power/control 0664 system graphics # IR spi node