feat(profile): add dmsetup

fix #469
This commit is contained in:
Alexandre Pujol 2024-09-08 12:21:56 +01:00
parent f91fc28711
commit a8b1e46095
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# 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

View File

@ -90,6 +90,7 @@ ddcutil complain
dino attach_disconnected,complain dino attach_disconnected,complain
DiscoverNotifier complain DiscoverNotifier complain
dkms attach_disconnected,complain dkms attach_disconnected,complain
dmsetup complain
dockerd attach_disconnected,complain dockerd attach_disconnected,complain
dolphin complain dolphin complain
downloadhelper complain downloadhelper complain