21 lines
568 B
Text
21 lines
568 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/4.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{lib}/systemd/system-generators/systemd-hibernate-resume-generator
|
|
profile systemd-generator-hibernate-resume @{exec_path} flags=(attach_disconnected) {
|
|
include <abstractions/base>
|
|
include <abstractions/common/systemd>
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{PROC}/@{pid}/cgroup r,
|
|
|
|
include if exists <local/systemd-generator-hibernate-resume>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|