mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 14:55:15 +01:00
feat(profiles): add swtpm_ioctl.
This commit is contained in:
parent
9ad819a196
commit
aa606bbdc4
1 changed files with 19 additions and 0 deletions
19
apparmor.d/profiles-s-z/swtpm_ioctl
Normal file
19
apparmor.d/profiles-s-z/swtpm_ioctl
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = /{usr/,}bin/swtpm_ioctl
|
||||||
|
profile swtpm_ioctl @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
|
||||||
|
capability dac_override,
|
||||||
|
capability dac_read_search,
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
include if exists <local/swtpm_ioctl>
|
||||||
|
}
|
Loading…
Reference in a new issue