feat(systemd): split systemd-sleep profile.
This commit is contained in:
parent
ad23864094
commit
ff76602843
6 changed files with 110 additions and 9 deletions
16
apparmor.d/groups/systemd/systemd-sleep-sysstat
Normal file
16
apparmor.d/groups/systemd/systemd-sleep-sysstat
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/systemd/system-sleep/sysstat.sleep
|
||||
profile systemd-sleep-sysstat @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/systemd-sleep-sysstat>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue