apparmor.d/apparmor.d/groups/systemd/localectl
2023-02-04 23:55:14 +00:00

25 lines
No EOL
568 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/localectl
profile localectl @{exec_path} {
include <abstractions/base>
include <abstractions/systemd-common>
capability net_admin,
@{exec_path} mr,
/{usr/,}bin/less rPx -> child-pager,
/{usr/,}bin/more rPx -> child-pager,
/{usr/,}bin/pager rPx -> child-pager,
/usr/share/kbd/keymaps/{,**} r,
include if exists <local/localectl>
}