feat(dbus): add login-session dbus abstraction.

This commit is contained in:
Alexandre Pujol 2023-12-05 21:04:50 +00:00
parent 538ec25001
commit c4b48b06e2
Failed to generate hash of commit

View file

@ -0,0 +1,15 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
dbus send bus=system path=/org/freedesktop/login1/session/auto
interface=org.freedesktop.DBus.Properties
member=GetAll
peer=(name=:*, label=systemd-logind),
dbus send bus=system path=/org/freedesktop/login1/session/auto
interface=org.freedesktop.login1.Session
member=SetBrightness
peer=(name=:*, label=systemd-logind),
include if exists <abstractions/bus/login-session.d>