Add gnome-terminal-server.

This commit is contained in:
Alexandre Pujol 2022-03-06 13:58:58 +00:00
parent 3fd489a442
commit 020b118b46
Failed to generate hash of commit
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,40 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}lib/gnome-terminal-server
profile gnome-terminal-server @{exec_path} {
include <abstractions/base>
include <abstractions/dconf>
include <abstractions/fonts>
include <abstractions/freedesktop.org>
include <abstractions/gtk>
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 <local/gnome-terminal-server>
}

View file

@ -48,6 +48,7 @@ gnome-photos-thumbnailer complain
gnome-shell attach_disconnected,complain gnome-shell attach_disconnected,complain
gnome-shell-hotplug-sniffer complain gnome-shell-hotplug-sniffer complain
gnome-system-monitor attach_disconnected,complain gnome-system-monitor attach_disconnected,complain
gnome-terminal-server complain
gnome-tweak-tool-lid-inhibitor complain gnome-tweak-tool-lid-inhibitor complain
gnome-tweaks complain gnome-tweaks complain
gpg complain gpg complain