diff --git a/apparmor.d/abstractions/bus/login-session b/apparmor.d/abstractions/bus/login-session new file mode 100644 index 00000000..50a94924 --- /dev/null +++ b/apparmor.d/abstractions/bus/login-session @@ -0,0 +1,15 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2023 Alexandre Pujol +# 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