diff --git a/apparmor.d/profiles-m-r/mono-sgen b/apparmor.d/profiles-m-r/mono-sgen new file mode 100644 index 00000000..c1a13b13 --- /dev/null +++ b/apparmor.d/profiles-m-r/mono-sgen @@ -0,0 +1,21 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2021 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}bin/mono-sgen +profile mono-sgen @{exec_path} { + include + include + + @{exec_path} mr, + + /usr/share/.mono/{,**} rw, + + /etc/mono/{,**} r, + + include if exists +} \ No newline at end of file diff --git a/profiles.flags b/profiles.flags index 032a009c..37f82c1b 100644 --- a/profiles.flags +++ b/profiles.flags @@ -84,6 +84,7 @@ man complain mission-control complain mke2fs complain mkinitcpio attach_disconnected,complain +mono-sgen complain mount complain newgidmap complain newuidmap complain