-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dbus): add login-session dbus abstraction.
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# apparmor.d - Full set of apparmor profiles | ||
# Copyright (C) 2023 Alexandre Pujol <[email protected]> | ||
# 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> |