mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 06:45:10 +01:00
a8b1e46095
fix #469
23 lines
444 B
Text
23 lines
444 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/dmsetup
|
|
profile dmsetup @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/disks-write>
|
|
|
|
capability sys_admin,
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{PROC}/devices r,
|
|
|
|
include if exists <local/dmsetup>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|