Move glib based profiles.

This commit is contained in:
Alexandre Pujol 2022-02-09 20:11:28 +00:00
parent 810985a0cd
commit ba0ccc3edc
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 0 additions and 0 deletions

View file

@ -1,23 +0,0 @@
# 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/glib-compile-schemas
profile glib-compile-schemas @{exec_path} {
include <abstractions/base>
network inet stream,
network inet6 stream,
@{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>
}

View file

@ -1,26 +0,0 @@
# 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/glib-pacrunner
profile glib-pacrunner @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
network inet dgram,
network inet6 dgram,
network inet stream,
network inet6 stream,
network netlink raw,
@{exec_path} mr,
@{PROC}/cmdline r,
@{PROC}/sys/kernel/osrelease r,
include if exists <local/glib-pacrunner>
}