feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-10-14 19:32:48 +01:00
parent 48751f75b2
commit 185dc96d45
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
48 changed files with 165 additions and 120 deletions

View file

@ -3,7 +3,7 @@
# Copyright (C) 2011-2014 Jérémy Bobbio <lunar@debian.org>;
# Copyright (C) 2020 krathalan https://git.sr.ht/~krathalan/apparmor-profiles/
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-3.0-only
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,

View file

@ -1,11 +1,12 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = /{,usr/}{,local/}bin/hbbr
@{exec_path} = @{bin}/hbbr
profile hbbr @{exec_path} {
include <abstractions/base>

View file

@ -1,11 +1,12 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = /{,usr/}{,local/}bin/hbbs
@{exec_path} = @{bin}/hbbs
profile hbbs @{exec_path} {
include <abstractions/base>

View file

@ -16,14 +16,17 @@ profile issue-generator @{exec_path} {
@{sh_path} r,
@{bin}/basename rix,
@{bin}/cat rix,
@{bin}/chmod rix,
@{bin}/cmp rix,
@{bin}/mktemp rix,
@{bin}/mv rix,
@{bin}/rm rix,
@{bin}/sort rix,
/etc/issue.d/{,**} r,
/etc/sysconfig/issue-generator r,
@{run}/agetty.reload w,
@{run}/issue r,
@{run}/issue.@{rand10} rw,
@{run}/issue.d/{,**} r,