mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
feat(profiles): add qemu-ga.
This commit is contained in:
parent
a5b73375a2
commit
7a1304720e
1 changed files with 20 additions and 0 deletions
20
apparmor.d/profiles-m-r/qemu-ga
Normal file
20
apparmor.d/profiles-m-r/qemu-ga
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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/qemu-ga
|
||||
profile qemu-ga @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{run}/qga.state* rw,
|
||||
|
||||
/dev/vport[0-9]*p[0-9]* rw,
|
||||
|
||||
include if exists <local/qemu-ga>
|
||||
}
|
Loading…
Reference in a new issue