Add mono-sgen profile.

This commit is contained in:
Alexandre Pujol 2021-11-04 18:34:37 +00:00
parent 477df29dd5
commit 3b4af3c89e
Failed to generate hash of commit
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# 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/mono-sgen
profile mono-sgen @{exec_path} {
include <abstractions/base>
include <abstractions/ssl_certs>
@{exec_path} mr,
/usr/share/.mono/{,**} rw,
/etc/mono/{,**} r,
include if exists <local/mono-sgen>
}

View file

@ -84,6 +84,7 @@ man complain
mission-control complain
mke2fs complain
mkinitcpio attach_disconnected,complain
mono-sgen complain
mount complain
newgidmap complain
newuidmap complain