apparmor.d/apparmor.d/profiles-g-l/lvmconfig

19 lines
378 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022 Jeroen Rijken
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/lvmconfig
profile lvmconfig @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@{exec_path} rm,
@{etc_rw}/lvm/** rw,
include if exists <local/lvmconfig>
}