feat(profile): add initial profile for resolvectl.
This commit is contained in:
parent
cfccb7894d
commit
ebc8b29b1d
1 changed files with 25 additions and 0 deletions
25
apparmor.d/groups/systemd/resolvectl
Normal file
25
apparmor.d/groups/systemd/resolvectl
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2025 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/4.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = @{bin}/resolvectl
|
||||||
|
profile resolvectl @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/consoles>
|
||||||
|
include <abstractions/bus-system>
|
||||||
|
include <abstractions/common/systemd>
|
||||||
|
|
||||||
|
#aa:dbus talk bus=system name=org.freedesktop.resolve1 label=systemd-resolved
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
@{pager_path} rPx -> child-pager,
|
||||||
|
|
||||||
|
include if exists <local/resolvectl>
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
Loading…
Add table
Add a link
Reference in a new issue