mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
Add spice-client-glib-usb-acl-helper.
This commit is contained in:
parent
2b4aa5580f
commit
a6f1a58743
1 changed files with 24 additions and 0 deletions
24
apparmor.d/profiles-s-z/spice-client-glib-usb-acl-helper
Normal file
24
apparmor.d/profiles-s-z/spice-client-glib-usb-acl-helper
Normal file
|
@ -0,0 +1,24 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/spice-client-glib-usb-acl-helper
|
||||
profile spice-client-glib-usb-acl-helper @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
capability sys_ptrace,
|
||||
capability fowner,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}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>
|
||||
}
|
Loading…
Reference in a new issue