Add gtk-query-immodules.
This commit is contained in:
parent
8bab95223f
commit
aceb3d7560
1 changed files with 22 additions and 0 deletions
22
apparmor.d/profiles-a-l/gtk-query-immodules
Normal file
22
apparmor.d/profiles-a-l/gtk-query-immodules
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
# 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/,}bin/gtk-query-immodules-{2,3}.0
|
||||||
|
profile gtk-query-immodules @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/{usr/,}lib/gtk-{3,4}.0/**/immodules.cache.[0-9A-Z]* w,
|
||||||
|
|
||||||
|
# Silencer
|
||||||
|
deny network inet6 stream,
|
||||||
|
deny network inet stream,
|
||||||
|
|
||||||
|
include if exists <local/gtk-query-immodules>
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue