diff options
author | Karthik Gopalan <quic_gkarth@quicinc.com> | 2022-08-03 18:46:15 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2023-03-28 02:52:42 -0700 |
commit | a5c5e8197f06c39938d377a44398edda2419a46c (patch) | |
tree | 8a619e409f697edce824067addd5072dbd4d2a3f | |
parent | 28fc47c05f1820155443c6eb30262b31f2732546 (diff) |
sepolicy_vndr: allow init shell access kgsl nodes.
Allow vendor init shell to access /sys/class/kgsl/kgsl/ node.
Change-Id: I3b7036b591f3619ba7490d0296c5159a22e1afcf
-rw-r--r-- | qva/vendor/common/init_shell.te | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qva/vendor/common/init_shell.te b/qva/vendor/common/init_shell.te index a3e16a28..56890ff4 100644 --- a/qva/vendor/common/init_shell.te +++ b/qva/vendor/common/init_shell.te @@ -62,6 +62,9 @@ allow vendor_qti_init_shell { vendor_sysfs_sd }:file w_file_perms; +# Allow init shell to access /sys/class/kgsl/kgsl/ nodes +allow vendor_qti_init_shell vendor_sysfs_kgsl:file w_file_perms; + # Allow init shell to access vendor pasr properties set_prop(vendor_qti_init_shell, vendor_pasr_prop) set_prop(vendor_qti_init_shell, ctl_start_prop) |