26 lines
642 B
Text
26 lines
642 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-cryptsetup-generator
|
|
profile systemd-generator-cryptsetup @{exec_path} flags=(attach_disconnected) {
|
|
include <abstractions/base>
|
|
include <abstractions/consoles>
|
|
include <abstractions/common/systemd>
|
|
|
|
@{exec_path} mr,
|
|
|
|
/etc/crypttab r,
|
|
|
|
@{run}/systemd/generator/{,**} rw,
|
|
|
|
@{PROC}/@{pid}/cgroup r,
|
|
|
|
include if exists <local/systemd-generator-cryptsetup>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|