Add archlinux-java profile.

This commit is contained in:
Alexandre Pujol 2021-11-20 14:14:05 +00:00
parent 079100e67a
commit 1cdd38ea40
Failed to generate hash of commit

View file

@ -0,0 +1,23 @@
# 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/,}bin/archlinux-java
profile archlinux-java @{exec_path} {
include <abstractions/base>
@{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 <local/archlinux-java>
}