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