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

@ -0,0 +1,26 @@
# 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>
}