mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-23 18:35:37 +01:00
31 lines
No EOL
738 B
Text
31 lines
No EOL
738 B
Text
# 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>
|
|
|
|
signal (receive) peer=git,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/{usr/,}bin/{,ba,da}sh rix,
|
|
/{usr/,}bin/cat rix,
|
|
/{usr/,}bin/git rPx,
|
|
/{usr/,}bin/makepkg rUx,
|
|
/{usr/,}bin/rm rix,
|
|
/{usr/,}bin/wc rix,
|
|
|
|
owner @{user_projects_dirs}/**/.git/COMMIT_EDITMSG rw,
|
|
owner @{user_projects_dirs}/**/.SRCINFO rw,
|
|
owner @{user_projects_dirs}/**/PKGBUILD r,
|
|
|
|
/dev/tty rw,
|
|
|
|
include if exists <local/aurpublish>
|
|
} |