mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
feat(profiles): add localectl.
This commit is contained in:
parent
65bf8278bc
commit
1a73271a1a
23
apparmor.d/groups/systemd/localectl
Normal file
23
apparmor.d/groups/systemd/localectl
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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>
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/{usr/,}bin/pager rPx -> child-pager,
|
||||||
|
/{usr/,}bin/less rPx -> child-pager,
|
||||||
|
/{usr/,}bin/more rPx -> child-pager,
|
||||||
|
|
||||||
|
/usr/share/kbd/keymaps/{,**} r,
|
||||||
|
|
||||||
|
include if exists <local/localectl>
|
||||||
|
}
|
@ -94,6 +94,7 @@ lastlog complain
|
|||||||
libvirt-dbus complain
|
libvirt-dbus complain
|
||||||
libvirtd attach_disconnected,complain
|
libvirtd attach_disconnected,complain
|
||||||
locale-gen complain
|
locale-gen complain
|
||||||
|
localectl complain
|
||||||
login complain
|
login complain
|
||||||
lvm complain
|
lvm complain
|
||||||
lvmconfig complain
|
lvmconfig complain
|
||||||
|
Loading…
Reference in New Issue
Block a user