mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
feat(dbus): add login-session dbus abstraction.
This commit is contained in:
parent
538ec25001
commit
c4b48b06e2
1 changed files with 15 additions and 0 deletions
15
apparmor.d/abstractions/bus/login-session
Normal file
15
apparmor.d/abstractions/bus/login-session
Normal 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>
|
Loading…
Reference in a new issue