Add aurpublish profile.

This commit is contained in:
Alexandre Pujol 2021-12-08 17:41:41 +00:00
parent 11e0066432
commit dec82f5eb3
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# 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/share/aurpublish/*.hook
profile aurpublish @{exec_path} {
include <abstractions/base>
@{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 <local/aurpublish>
}

View File

@ -7,6 +7,7 @@ agetty complain
askpass complain
at-spi-bus-launcher attach_disconnected
auditd complain
aurpublish complain
badblocks complain
biosdecode complain
blkid complain