feat(profiles): add qemu-ga.

This commit is contained in:
Alexandre Pujol 2022-05-21 17:10:49 +01:00
parent a5b73375a2
commit 7a1304720e
Failed to generate hash of commit

View 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>
}