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>


(cherry picked from commit 520db7a16c930992f18d3444fdea4438073bb9aa)

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

Co-authored-by: John Johansen <john@jjmx.net>
This commit is contained in:
Christian Boltz 2025-07-27 19:51:16 +00:00
parent 26f92b042b
commit c04560223a

View File

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