From dec82f5eb31fb5c3237d380a1865445d582b56bd Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Wed, 8 Dec 2021 17:41:41 +0000 Subject: [PATCH] Add aurpublish profile. --- apparmor.d/profiles-a-f/aurpublish | 22 ++++++++++++++++++++++ dists/flags/main.flags | 1 + 2 files changed, 23 insertions(+) create mode 100644 apparmor.d/profiles-a-f/aurpublish diff --git a/apparmor.d/profiles-a-f/aurpublish b/apparmor.d/profiles-a-f/aurpublish new file mode 100644 index 00000000..b7d2f98a --- /dev/null +++ b/apparmor.d/profiles-a-f/aurpublish @@ -0,0 +1,22 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2021 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /usr/share/aurpublish/*.hook +profile aurpublish @{exec_path} { + include + + @{exec_path} mr, + + /{usr/,}bin/{,ba,da}sh rix, + /{usr/,}bin/git rPx, + /{usr/,}bin/makepkg rUx, + /{usr/,}bin/rm rix, + /{usr/,}bin/wc rix, + + include if exists +} \ No newline at end of file diff --git a/dists/flags/main.flags b/dists/flags/main.flags index d057bb31..d65d6a2b 100644 --- a/dists/flags/main.flags +++ b/dists/flags/main.flags @@ -7,6 +7,7 @@ agetty complain askpass complain at-spi-bus-launcher attach_disconnected auditd complain +aurpublish complain badblocks complain biosdecode complain blkid complain