diff --git a/apparmor.d/groups/pacman/archlinux-java b/apparmor.d/groups/pacman/archlinux-java new file mode 100644 index 00000000..466d3336 --- /dev/null +++ b/apparmor.d/groups/pacman/archlinux-java @@ -0,0 +1,23 @@ +# 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/archlinux-java +profile archlinux-java @{exec_path} { + include + + @{exec_path} mr, + + /{usr/,}bin/basename rix, + /{usr/,}bin/bash rix, + /{usr/,}bin/dirname rix, + /{usr/,}bin/ln rix, + /{usr/,}bin/readlink rix, + /{usr/,}bin/unlink rix, + + include if exists +} \ No newline at end of file