feat(profiles): apply guideline on some profile. Update flags list.
This commit is contained in:
parent
7a5096e7d8
commit
22e57b3620
12 changed files with 74 additions and 83 deletions
|
|
@ -1,16 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{,usr/}bin/host
|
||||
@{exec_path} = @{bin}/host
|
||||
profile host @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/openssl>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/openssl>
|
||||
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
|
|
@ -21,5 +22,7 @@ profile host @{exec_path} {
|
|||
|
||||
owner @{PROC}/@{pids}/task/@{tid}/comm rw,
|
||||
|
||||
@{sys}/kernel/mm/transparent_hugepage/enabled r,
|
||||
|
||||
include if exists <local/host>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue