From 020b118b464406c4b76573ff672d0cbc47fd1a05 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sun, 6 Mar 2022 13:58:58 +0000 Subject: [PATCH] Add gnome-terminal-server. --- apparmor.d/groups/gnome/gnome-terminal-server | 40 +++++++++++++++++++ dists/flags/main.flags | 1 + 2 files changed, 41 insertions(+) create mode 100644 apparmor.d/groups/gnome/gnome-terminal-server diff --git a/apparmor.d/groups/gnome/gnome-terminal-server b/apparmor.d/groups/gnome/gnome-terminal-server new file mode 100644 index 00000000..cb4f98c1 --- /dev/null +++ b/apparmor.d/groups/gnome/gnome-terminal-server @@ -0,0 +1,40 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2022 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}lib/gnome-terminal-server +profile gnome-terminal-server @{exec_path} { + include + include + include + include + include + + signal (send) set=(term hup kill) peer=unconfined, + + @{exec_path} mr, + + /{usr/,}bin/{,z,ba,da}sh rux, + + /usr/share/glib-2.0/schemas/gschemas.compiled r, + /usr/share/X11/xkb/{,**} r, + + /var/lib/flatpak/exports/share/icons/{,**} r, + + /etc/shells r, + + owner @{run}/user/@{uid}/dconf/ rw, + owner @{run}/user/@{uid}/dconf/user rw, + owner @{run}/user/@{uid}/gdm/Xauthority r, + + @{PROC}/@{pids}/cgroup r, + + /dev/ptmx rw, + owner /dev/pts/[0-9]* rw, + + include if exists +} \ No newline at end of file diff --git a/dists/flags/main.flags b/dists/flags/main.flags index df735955..253b3458 100644 --- a/dists/flags/main.flags +++ b/dists/flags/main.flags @@ -48,6 +48,7 @@ gnome-photos-thumbnailer complain gnome-shell attach_disconnected,complain gnome-shell-hotplug-sniffer complain gnome-system-monitor attach_disconnected,complain +gnome-terminal-server complain gnome-tweak-tool-lid-inhibitor complain gnome-tweaks complain gpg complain