35 lines
869 B
Text
35 lines
869 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/dbus-run-session
|
|
profile dbus-run-session @{exec_path} {
|
|
include <abstractions/base>
|
|
|
|
signal (receive) set=(term, kill, hup) peer=gdm*,
|
|
signal (send) set=term peer=dbus-daemon,
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{bin}/dbus-daemon rPx,
|
|
@{bin}/gnome-session rix,
|
|
@{bin}/gnome-shell rPx,
|
|
@{bin}/gsettings rPx,
|
|
@{bin}/startplasma-wayland rPx,
|
|
@{lib}/gnome-session-binary rPx,
|
|
|
|
/var/lib/gdm{3,}/.config/dconf/user r,
|
|
/var/lib/gdm{3,}/.cache/dconf/ rw,
|
|
/var/lib/gdm{3,}/greeter-dconf-defaults r,
|
|
|
|
owner @{PROC}/@{pid}/fd/ r,
|
|
|
|
/dev/tty rw,
|
|
/dev/tty@{int} rw,
|
|
|
|
include if exists <local/dbus-run-session>
|
|
}
|