* Unbreaking Debian 11 and partially Ubuntu 22.04 * pre-cleanup * pre-cleanup2 * Update im-launch * Update gnome-extension-ding * polishing * not yet * Update ubuntu.flags Allow GDM to boot. `No new privs` fix. * Update debian.flags Allow GDM to boot. `No new privs` fix. * Update CONTRIBUTING.md * fixes * reverting w * move setpriv to main.flags
32 lines
1,008 B
Text
32 lines
1,008 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} = @{libexec}/gnome-session-ctl
|
|
profile gnome-session-ctl @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/dbus-session-strict>
|
|
|
|
dbus send bus=session path=/org/freedesktop/systemd[0-9]*
|
|
interface=org.freedesktop.systemd[0-9]*.Manager
|
|
member={StartUnit,StopUnit}
|
|
peer=(name=org.freedesktop.systemd[0-9]*),
|
|
|
|
dbus send bus=session path=/org/gnome/SessionManager
|
|
interface=org.gnome.SessionManager
|
|
member=Initialized
|
|
peer=(name=org.gnome.SessionManager, label=gnome-session-binary),
|
|
|
|
unix (send, receive, connect) type=stream peer=(addr=@/tmp/dbus-*, label=dbus-daemon),
|
|
|
|
@{exec_path} mr,
|
|
|
|
owner @{run}/user/@{uid}/gnome-session-leader-fifo r,
|
|
@{run}/user/@{uid}/systemd/notify rw,
|
|
|
|
include if exists <local/gnome-session-ctl>
|
|
}
|