mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
Executable updates for zpool
This commit is contained in:
parent
3810c1668e
commit
99c311e699
@ -10,12 +10,15 @@ profile zpool @{exec_path} flags=(complain) {
|
|||||||
capability sys_admin,
|
capability sys_admin,
|
||||||
|
|
||||||
@{exec_path} r,
|
@{exec_path} r,
|
||||||
|
/{usr/,}{local/,}lib/zfs-linux/zpool.d/* rix,
|
||||||
|
/{usr/,}{local/,}bin/{ba,da,k,z,}sh rix,
|
||||||
|
|
||||||
/dev/zfs rw,
|
/dev/zfs rw,
|
||||||
@{PROC}/@{pids}/mounts r,
|
@{PROC}/@{pids}/mounts r,
|
||||||
|
|
||||||
/dev/pts/[0-9]* rw,
|
/dev/pts/[0-9]* rw,
|
||||||
/etc/hostid r,
|
/etc/hostid r,
|
||||||
|
@{PROC}/sys/kernel/spl/hostid r,
|
||||||
|
|
||||||
include if exists <local/zfs>
|
include if exists <local/zfs>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user