feat(profiles): general update.
This commit is contained in:
parent
c0e62f30bb
commit
23642eb0be
14 changed files with 39 additions and 18 deletions
|
|
@ -1,3 +1,7 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2022 Jeroen Rijken
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
|
@ -10,17 +14,18 @@ profile zpool @{exec_path} flags=(complain) {
|
|||
capability sys_admin,
|
||||
|
||||
@{exec_path} rm,
|
||||
|
||||
/{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}/@{pids}/mounts r,
|
||||
@{PROC}/sys/kernel/spl/hostid r,
|
||||
|
||||
/dev/pts/[0-9]* rw,
|
||||
/dev/zfs rw,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue