tty and pts are part of abstractions/consoles

This commit is contained in:
Jeroen Rijken 2022-08-01 18:30:03 +02:00 committed by Alex
parent 7ee9644325
commit 005dec1a53
59 changed files with 58 additions and 65 deletions

View file

@ -9,6 +9,7 @@ include <tunables/global>
@{exec_path} = /{usr/,}{local/,}{s,}bin/zpool
profile zpool @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/disks-read>
capability sys_admin,
@ -31,7 +32,6 @@ profile zpool @{exec_path} {
@{PROC}/@{pids}/mounts r,
@{PROC}/sys/kernel/spl/hostid r,
/dev/pts/[0-9]* rw,
/dev/zfs rw,
include if exists <local/zpool>