Add gtk-query-immodules.

This commit is contained in:
Alexandre Pujol 2021-06-29 20:01:26 +01:00
parent 8bab95223f
commit aceb3d7560
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

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