feat(profile): general update.
This commit is contained in:
parent
48751f75b2
commit
185dc96d45
48 changed files with 165 additions and 120 deletions
|
|
@ -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>,
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue