From 5eeccc84f85eb5bc9258db1a959ce6c169cef1a4 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Thu, 4 Nov 2021 18:35:24 +0000 Subject: [PATCH] Add cert-sync profile. --- apparmor.d/profiles-a-f/cert-sync | 18 ++++++++++++++++++ profiles.flags | 1 + 2 files changed, 19 insertions(+) create mode 100644 apparmor.d/profiles-a-f/cert-sync diff --git a/apparmor.d/profiles-a-f/cert-sync b/apparmor.d/profiles-a-f/cert-sync new file mode 100644 index 00000000..cc049296 --- /dev/null +++ b/apparmor.d/profiles-a-f/cert-sync @@ -0,0 +1,18 @@ +# 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/cert-sync +profile cert-sync @{exec_path} { + include + + @{exec_path} mr, + + /{usr/,}bin/mono-sgen rPx, + + include if exists +} \ No newline at end of file diff --git a/profiles.flags b/profiles.flags index 37f82c1b..1d2926a3 100644 --- a/profiles.flags +++ b/profiles.flags @@ -10,6 +10,7 @@ blkid complain blockdev complain bootctl complain borg complain +cert-sync complain cfdisk complain cgdisk complain cockpit-askpass complain