mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
26 lines
607 B
Plaintext
26 lines
607 B
Plaintext
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{lib}/spice-client-glib-usb-acl-helper
|
|
profile spice-client-glib-usb-acl-helper @{exec_path} {
|
|
include <abstractions/base>
|
|
|
|
capability sys_ptrace,
|
|
capability fowner,
|
|
|
|
ptrace (read) peer=virt-manager,
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{lib}/gconv/gconv-modules r,
|
|
|
|
owner @{PROC}/@{pid}/stat r,
|
|
@{PROC}/sys/kernel/cap_last_cap r,
|
|
|
|
include if exists <local/spice-client-glib-usb-acl-helper>
|
|
} |