From 1da24b7cfa4de27dd2014ac9e5cfd6f0dec5d9dd Mon Sep 17 00:00:00 2001 From: nobodysu Date: Sun, 9 Oct 2022 20:06:37 +0300 Subject: [PATCH] fixes --- apparmor.d/groups/gnome/gnome-shell | 3 ++- apparmor.d/profiles-a-f/cc-remote-login-helper | 2 +- dists/flags/main.flags | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apparmor.d/groups/gnome/gnome-shell b/apparmor.d/groups/gnome/gnome-shell index ba4ff7c4f..8e6c68bd6 100644 --- a/apparmor.d/groups/gnome/gnome-shell +++ b/apparmor.d/groups/gnome/gnome-shell @@ -505,6 +505,7 @@ profile gnome-shell @{exec_path} flags=(attach_disconnected) { /etc/fstab r, /etc/xdg/menus/gnome-applications.menu r, + /var/lib/gdm{3,}/.cache/ w, /var/lib/gdm{3,}/.cache/mesa_shader_cache/ rw, /var/lib/gdm{3,}/.cache/mesa_shader_cache/[a-f0-9][a-f0-9]/ rw, /var/lib/gdm{3,}/.cache/mesa_shader_cache/[a-f0-9][a-f0-9]/@{hex} rw, @@ -633,4 +634,4 @@ profile gnome-shell @{exec_path} flags=(attach_disconnected) { /dev/tty[0-9]* rw, include if exists -} \ No newline at end of file +} diff --git a/apparmor.d/profiles-a-f/cc-remote-login-helper b/apparmor.d/profiles-a-f/cc-remote-login-helper index 9cb8aab52..1c70969f9 100644 --- a/apparmor.d/profiles-a-f/cc-remote-login-helper +++ b/apparmor.d/profiles-a-f/cc-remote-login-helper @@ -6,7 +6,7 @@ abi , include @{exec_path} = @{libexec}/cc-remote-login-helper -profile cc-remote-login-helper @{exec_path} flags=(complain) { +profile cc-remote-login-helper @{exec_path} { include capability sys_nice, diff --git a/dists/flags/main.flags b/dists/flags/main.flags index 694d16e90..c81a98044 100644 --- a/dists/flags/main.flags +++ b/dists/flags/main.flags @@ -15,6 +15,7 @@ avahi-publish complain avahi-resolve complain avahi-set-host-name complain busctl complain +cc-remote-login-helper complain cfdisk complain cgdisk complain child-open complain