mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 13:28:19 +00:00
abstractions/X: Allow (only) reading X compose cache
... (/var/cache/libx11/compose/*), and deny any write attempts Reported by darix, https://git.nordisch.org/darix/apparmor-profiles-nordisch/-/blob/master/apparmor.d/teams MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/685 (cherry picked from commit 78bd811e2a23f55974991cd208f6a17749655c21) Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
f305bb1831
commit
085d4cd0e2
@ -55,6 +55,8 @@
|
|||||||
|
|
||||||
# Xcompose
|
# Xcompose
|
||||||
owner @{HOME}/.XCompose r,
|
owner @{HOME}/.XCompose r,
|
||||||
|
/var/cache/libx11/compose/* r,
|
||||||
|
deny /var/cache/libx11/compose/* wlk,
|
||||||
|
|
||||||
# mouse themes
|
# mouse themes
|
||||||
/etc/X11/cursors/ r,
|
/etc/X11/cursors/ r,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user