mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
Add glib-compile-resources.
This commit is contained in:
parent
020b118b46
commit
8d5e0fc37c
1 changed files with 22 additions and 0 deletions
22
apparmor.d/profiles-g-l/glib-compile-resources
Normal file
22
apparmor.d/profiles-g-l/glib-compile-resources
Normal file
|
@ -0,0 +1,22 @@
|
|||
# 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/glib-compile-resources
|
||||
profile glib-compile-resources @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}bin/xmllint rix,
|
||||
|
||||
/tmp/resource-* rw,
|
||||
|
||||
owner @{PROC}/@{pid}/fd/ r,
|
||||
|
||||
include if exists <local/glib-compile-resources>
|
||||
}
|
Loading…
Reference in a new issue