mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
parent
f91fc28711
commit
a8b1e46095
23
apparmor.d/profiles-a-f/dmsetup
Normal file
23
apparmor.d/profiles-a-f/dmsetup
Normal 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
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user