Add glib-compile-schemas.

This commit is contained in:
Alexandre Pujol 2021-04-02 00:01:54 +01:00
parent efe56f3841
commit 70ad571cbe
Failed to generate hash of commit

View file

@ -0,0 +1,20 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-3.0-or-later
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/glib-compile-schemas
profile glib-compile-schemas @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
/usr/share/glib-2.0/schemas/{,*} r,
/usr/share/glib-2.0/schemas/gschemas.compiled.[A-Z0-9]* rw,
/usr/share/glib-2.0/schemas/gschemas.compiled rw,
include if exists <local/glib-compile-schemas>
}