Alphabetical sorting, group common options.

This commit is contained in:
Jeroen Rijken 2022-07-10 13:01:31 +02:00 committed by Alex
parent 59f8b893ff
commit d10f2c073c
2 changed files with 7 additions and 7 deletions

View File

@ -12,10 +12,10 @@ profile containerd @{exec_path} {
include <abstractions/disks-read>
include <abstractions/devices-usb>
capability chown,
capability dac_read_search,
capability net_admin,
capability sys_admin,
capability chown,
mount fstype=tmpfs options in (rw, nosuid, nodev, noexec) -> @{run}/containerd/io.containerd.grpc.v1.cri/sandboxes/[0-9a-f]*/shm/,
mount fstype=zfs -> /var/lib/containerd/tmpmounts/containerd-mount[0-9]*/,
@ -24,11 +24,11 @@ profile containerd @{exec_path} {
signal (receive) set=term peer=dockerd,
@{exec_path} rm,
/{usr/,}bin/unpigz rPUx,
/{usr/,}{local/,}{s,}bin/zfs rPx,
@{exec_path} mr,
/{usr/,}bin/containerd-shim-runc-v2 rPUx,
/{usr/,}bin/kmod rPx,
/{usr/,}bin/unpigz rPUx,
/{usr/,}{local/,}{s,}bin/zfs rPx,
/etc/cni/ rw,
/etc/cni/{,**} r,

View File

@ -10,20 +10,20 @@ profile zpool @{exec_path} flags=(complain) {
capability sys_admin,
@{exec_path} rm,
/{usr/,}{local/,}lib/zfs-linux/zpool.d/* rix,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}{local/,}lib/zfs-linux/zpool.d/* rix,
/etc/hostid r,
@{PROC}/sys/kernel/spl/hostid r,
@{run}/blkid/blkid.tab rw,
@{run}/blkid/blkid.tab.old l,
@{run}/blkid/blkid.tab-* rwl,
@{PROC}/sys/kernel/spl/hostid r,
@{PROC}/@{pids}/mounts r,
/dev/zfs rw,
/dev/pts/[0-9]* rw,
/dev/zfs rw,
include if exists <local/zfs>
}