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
This commit is contained in:
Midas Chien 2023-09-22 06:58:30 +00:00
parent eec4beedd6
commit cbe4abfd37

View File

@ -1,3 +1,3 @@
genfscon debugfs /dri/0/crtc- u:object_r:vendor_dri_debugfs:s0 genfscon debugfs /dri/0/crtc- u:object_r:vendor_dri_debugfs:s0
genfscon sysfs /module/drm/parameters/debug u:object_r:sysfs_display:s0