From 2ec1f7daa1ad1b70c9a3fbd049e0a81cd0db4708 Mon Sep 17 00:00:00 2001 From: curiosityseeker <60518106+curiosityseeker@users.noreply.github.com> Date: Mon, 18 Sep 2023 13:56:54 +0200 Subject: [PATCH] Update kwin_wayland --- apparmor.d/groups/kde/kwin_wayland | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/apparmor.d/groups/kde/kwin_wayland b/apparmor.d/groups/kde/kwin_wayland index 82b2c644..73ce4144 100644 --- a/apparmor.d/groups/kde/kwin_wayland +++ b/apparmor.d/groups/kde/kwin_wayland @@ -14,7 +14,6 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) { include include include - include include include include @@ -53,10 +52,14 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) { /etc/xdg/menus/{,applications.menu} r, /etc/pipewire/client.conf.d/ r, /usr/share/pipewire/client.conf r, + /usr/share/plasma/desktoptheme/default/** r, + /usr/share/desktop-directories/*.directory r, - owner /var/lib/sddm/.cache/#@{int} rw, - owner /var/lib/sddm/.cache/fontconfig/* rw, + owner /var/lib/sddm/.cache/#@{int} rwk, + owner /var/lib/sddm/.cache/fontconfig/* rwk, + owner /var/lib/sddm/.cache/fontconfig/*-le64.cache-@{int}{,TMP-@{rand6},NEW,LCK} w, + owner /var/lib/sddm/.cache/fontconfig/*-le64.cache-@{int}.LCK l -> /var/lib/sddm/.cache/fontconfig/*-le64.cache-@{int}.TMP-@{rand6}, owner /var/lib/sddm/.cache/mesa_shader_cache/** r, owner /var/lib/sddm/.cache/mesa_shader_cache/index rw, owner /var/lib/sddm/.cache/ksycoca5_* rwkl -> /var/lib/sddm/.cache/#@{int}, @@ -68,10 +71,19 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) { owner /var/lib/sddm/.config/kwinrc.lock rwk, owner /var/lib/sddm/.config/kwinrc{,.@{rand6}} rwl -> /var/lib/sddm/.config/#@{int}, - owner @{user_cache_dirs}/{,plasma-svgelements} r, + owner @{user_cache_dirs}/#@{int} rw, + owner @{user_cache_dirs}/{,plasma-svgelements} r + owner @{user_cache_dirs}/fontconfig/*-le64.cache-@{int} w, + owner @{user_cache_dirs}/fontconfig/*-le64.cache-@{int}{,TMP-@{rand6},NEW,LCK} w, owner @{user_cache_dirs}/icon-cache.kcache rw, owner @{user_share_dirs}/kscreen/* r, owner @{user_cache_dirs}/ksycoca5_* r, + owner @{user_cache_dirs}/kwin/qmlcache/#@{int} rw, + owner @{user_cache_dirs}/kwin/qmlcache/*.qmlc{,.@{rand6}} rw, + owner @{user_cache_dirs}/kwin/qmlcache/*.qmlc.@{rand6} l -> @{user_cache_dirs}/kwin/qmlcache/#@{int}, + owner @{user_cache_dirs}/plasma-svgelements.lock rwk, + owner @{user_cache_dirs}/plasma-svgelements.@{rand6} rw, + owner @{user_cache_dirs}/plasma-svgelements.@{rand6} l -> @{user_cache_dirs}/#@{int}, owner @{user_cache_dirs}/plasma_theme_default_v*.kcache rw, owner @{user_config_dirs}/#@{int} rwl, @@ -108,6 +120,7 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) { @{run}/udev/data/c189:@{int} r, # for /dev/bus/usb/** @{run}/udev/data/c226:@{int} r, # for /dev/dri/card* + @{PROC}/sys/kernel/core_pattern r, @{PROC}/sys/kernel/random/boot_id r, /dev/input/event@{int} rw,