# apparmor.d - Full set of apparmor profiles # Copyright (C) 2021-2024 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , include @{exec_path} = @{bin}/Xwayland profile xwayland @{exec_path} flags=(attach_disconnected) { include include include include include signal (receive) set=(term hup) peer=gdm*, signal (receive) set=(term hup) peer=gnome-shell, signal (receive) set=(term hup) peer=kwin_wayland, signal (receive) set=(term hup) peer=login, unix type=stream addr=none peer=(label=gnome-shell, addr=none), @{exec_path} mrix, @{sh_path} rix, @{bin}/xkbcomp rPx, /usr/share/fonts/{,**} r, /usr/share/ghostscript/fonts/{,**} r, owner @{tmp}/server-@{int}.xkm rwk, owner @{run}/user/@{uid}/.mutter-Xwaylandauth.@{rand6} rw, owner @{run}/user/@{uid}/server-@{int}.xkm rw, owner @{run}/user/@{uid}/xwayland-shared-@{rand6} rw, @{PROC}/@{pids}/cmdline r, @{att}/dev/tty@{int} rw, /dev/tty rw, include if exists } # vim:syntax=apparmor