Skip to content

Commit

Permalink
feat(dbus): add login-session dbus abstraction.
Browse files Browse the repository at this point in the history
  • Loading branch information
roddhjav committed Dec 5, 2023
1 parent 538ec25 commit c4b48b0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions apparmor.d/abstractions/bus/login-session
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>

0 comments on commit c4b48b0

Please sign in to comment.