sepolicy: Add ae00000.display-subsystem sysfs path for v6.3-rc1+ kernel versions
v6.3 merge window commit ecf0f5ff152b ("arm64: dts: qcom:
rename mdss nodes to display-subsystem") renamed mdss nodes
to display-subsystem thereby breaking the display on db845c
and rb5 running AOSP with v6.3-rc1+ kernel versions with
selinux in enforcing mode.
This sepolicy patch provide relevant display services and
applications access to ae00000.display-subsystem sysfs path
to support booting with newer kernel versions.
Change-Id: I82f9d2b6b2d1c9fcda9bc5f6ef8b4c674ba5c456
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index d7419dc..c7eb6db 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -20,6 +20,7 @@
/sys/devices/platform/soc@0/8300000.remoteproc u:object_r:sysfs_remoteproc:s0
/sys/devices/platform/soc@0/17300000.remoteproc u:object_r:sysfs_remoteproc:s0
/sys/devices/platform/soc@0/ae00000.mdss u:object_r:sysfs_gpu:s0
+/sys/devices/platform/soc@0/ae00000.display-subsystem u:object_r:sysfs_gpu:s0
#wakeups on db845c
/sys/devices/platform/soc@0/1c00000.pci/pci0000:00/0000:00:00.0/0000:01:00.0/wakeup/wakeup1 u:object_r:sysfs_wakeup:s0