# apparmor.d - Full set of apparmor profiles # Copyright (C) 2021 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , include @{exec_path} = /{usr/,}lib/gdm-wayland-session profile gdm-wayland-session @{exec_path} { include include include include include signal (receive) set=term peer=gdm{,-session-worker}, signal (send) set=(term) peer=dbus-run-session, signal (send) set=(term) peer=dbus-daemon, signal (send) set=(term) peer=gnome-session-binary, @{exec_path} mr, /{usr/,}bin/{,ba,da}sh rix, /{usr/,}bin/zsh rix, /{usr/,}bin/tty rix, /{usr/,}bin/grep rix, /{usr/,}bin/gnome-session rix, /{usr/,}bin/gsettings rix, /{usr/,}bin/dbus-daemon rPx, /{usr/,}bin/dbus-run-session rPx, /{usr/,}bin/flatpak rPUx, /{usr/,}lib/gnome-session-binary rPx, /etc/gdm/custom.conf r, /etc/machine-id r, /etc/shells r, /usr/share/gdm/gdm.schemas r, /usr/share/glib-2.0/schemas/gschemas.compiled r, @{run}/gdm/custom.conf r, owner @{PROC}/@{pid}/fd/ r, owner @{PROC}/@{pid}/loginuid r, include owner @{run}/user/@{uid}/dconf/ rw, owner @{run}/user/@{uid}/dconf/user rw, # file_inherit /dev/tty[0-9]* rw, include if exists }