2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 01:57:43 +00:00

Merge abstractions/X: allow reading /usr/share/xkeyboard-config-*/

/usr/share/X11/xkb/ was moved to /usr/share/xkeyboard-config-2/ in
xkeyboard-config 2.45, see
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/blob/master/ChangeLog.md?ref_type=heads#breaking-changes-2

The old location was covered by the /usr/share/X11/** rule.

Fixes: https://bugzilla.opensuse.org/show_bug.cgi?id=1246743

I propose this fix for 4.x and master. (Users of older AppArmor versions probably don't upgrade their xkeyboard package.)

MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1741
Approved-by: Alex <alexandre@pujol.io>
Approved-by: John Johansen <john@jjmx.net>
Merged-by: John Johansen <john@jjmx.net>
This commit is contained in:
John Johansen 2025-07-23 11:13:06 +00:00
commit 520db7a16c

View File

@ -48,6 +48,8 @@
/usr/share/X11/** r, /usr/share/X11/** r,
/usr/X11R6/**.so* mr, /usr/X11R6/**.so* mr,
/usr/share/xkeyboard-config-[2-9]/** r,
# EGL # EGL
/usr/lib/@{multiarch}/egl/*.so* mr, /usr/lib/@{multiarch}/egl/*.so* mr,