feat(profiles): general update.
This commit is contained in:
parent
081308db2f
commit
c750cb1b77
4 changed files with 15 additions and 2 deletions
|
|
@ -11,6 +11,8 @@ profile apparmor.systemd @{exec_path} flags=(complain) {
|
|||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
capability mac_admin,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}{s,}bin/aa-status rPx,
|
||||
|
|
@ -19,6 +21,8 @@ profile apparmor.systemd @{exec_path} flags=(complain) {
|
|||
/{usr/,}bin/{,e}grep rix,
|
||||
/{usr/,}bin/getconf rix,
|
||||
/{usr/,}bin/ls rix,
|
||||
/{usr/,}bin/sed rix,
|
||||
/{usr/,}bin/sort rix,
|
||||
/{usr/,}bin/systemd-detect-virt rPx,
|
||||
/{usr/,}bin/xargs rix,
|
||||
|
||||
|
|
@ -28,6 +32,7 @@ profile apparmor.systemd @{exec_path} flags=(complain) {
|
|||
|
||||
@{sys}/fs/cgroup/systemd/ r,
|
||||
@{sys}/kernel/security/apparmor/{,**} r,
|
||||
@{sys}/kernel/security/apparmor/.remove rw,
|
||||
@{sys}/module/apparmor/ r,
|
||||
|
||||
@{PROC}/@{pids}/fd/ r,
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@ profile apparmor_parser @{exec_path} flags=(attach_disconnected) {
|
|||
owner /var/cache/apparmor/{,**} rw,
|
||||
owner /var/lib/docker/tmp/docker-default[0-9]* r,
|
||||
owner /var/lib/snapd/apparmor/{,**} r,
|
||||
|
||||
owner /tmp/cri-containerd.apparmor.d[0-9]* r,
|
||||
|
||||
owner @{sys}/kernel/security/apparmor/.{remove,replace,load,access} rw,
|
||||
@{sys}/kernel/security/apparmor/{,**} r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue