From cbe4abfd373a3709435b77a8274700cf4fcb3ab0 Mon Sep 17 00:00:00 2001 From: Midas Chien Date: Fri, 22 Sep 2023 06:58:30 +0000 Subject: [PATCH] Grant HWComposer access to DRM module debug file Change DRM debug file SELinux type to sysfs_display to allow HWComposer to access it. Bug: 301599195 Test: ls -Z to check selinux type Test: check HWC can access it Change-Id: If4e09f5f2d2e6a1d4cf4f55c6680a7af3018f89d --- display/sepolicy/genfs_contexts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/display/sepolicy/genfs_contexts b/display/sepolicy/genfs_contexts index 9eaf5fb..7c46278 100644 --- a/display/sepolicy/genfs_contexts +++ b/display/sepolicy/genfs_contexts @@ -1,3 +1,3 @@ genfscon debugfs /dri/0/crtc- u:object_r:vendor_dri_debugfs:s0 - +genfscon sysfs /module/drm/parameters/debug u:object_r:sysfs_display:s0