mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
Add archlinux-java profile.
This commit is contained in:
parent
079100e67a
commit
1cdd38ea40
1 changed files with 23 additions and 0 deletions
23
apparmor.d/groups/pacman/archlinux-java
Normal file
23
apparmor.d/groups/pacman/archlinux-java
Normal 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>
|
||||||
|
}
|
Loading…
Reference in a new issue