feat(systemd): split systemd-sleep profile.

This commit is contained in:
Alexandre Pujol 2023-02-04 23:41:19 +00:00
parent ad23864094
commit ff76602843
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 110 additions and 9 deletions

View 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>
}