feat(profile): add some new profile (2).
This commit is contained in:
parent
fe1e3c3be8
commit
1842f8a4d5
6 changed files with 207 additions and 0 deletions
30
apparmor.d/profiles-g-l/issue-generator
Normal file
30
apparmor.d/profiles-g-l/issue-generator
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/issue-generator
|
||||
profile issue-generator @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/basename rix,
|
||||
@{bin}/cat rix,
|
||||
@{bin}/cmp rix,
|
||||
@{bin}/mktemp rix,
|
||||
@{bin}/rm rix,
|
||||
@{bin}/sort rix,
|
||||
|
||||
/etc/issue.d/{,**} r,
|
||||
|
||||
@{run}/issue r,
|
||||
@{run}/issue.@{rand10} rw,
|
||||
@{run}/issue.d/{,**} r,
|
||||
|
||||
include if exists <local/issue-generator>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue