Revert "tty and pts are part of abstractions/consoles"
This reverts commit 51a33f3f5e.
This commit is contained in:
parent
35087ea4bb
commit
af603fbc62
59 changed files with 65 additions and 56 deletions
|
|
@ -9,7 +9,6 @@ include <tunables/global>
|
|||
@{exec_path} = /{usr/,}{s,}bin/mount.zfs
|
||||
profile mount-zfs @{exec_path} flags=(complain) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
capability dac_read_search,
|
||||
|
|
@ -17,6 +16,8 @@ profile mount-zfs @{exec_path} flags=(complain) {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
/dev/pts/[0-9]* rw,
|
||||
|
||||
@{MOUNTDIRS}/ r,
|
||||
@{MOUNTS}/ r,
|
||||
@{MOUNTS}/*/ r,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ include <tunables/global>
|
|||
@{exec_path} = /{usr/,}lib/needrestart/iucode-scan-versions
|
||||
profile needrestart-iucode-scan-versions @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
|
@ -30,6 +29,7 @@ profile needrestart-iucode-scan-versions @{exec_path} {
|
|||
|
||||
@{sys}/devices/system/cpu/cpu[0-9]*/microcode/processor_flags r,
|
||||
|
||||
/dev/tty rw,
|
||||
|
||||
include if exists <local/needrestart-iucode-scan-versions>
|
||||
}
|
||||
|
|
@ -9,7 +9,6 @@ include <tunables/global>
|
|||
@{exec_path} = /{usr/,}bin/pass
|
||||
profile pass @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
|
@ -66,6 +65,7 @@ profile pass @{exec_path} {
|
|||
@{PROC}/sys/kernel/osrelease r,
|
||||
@{PROC}/uptime r,
|
||||
|
||||
/dev/tty rw,
|
||||
|
||||
profile editor {
|
||||
include <abstractions/base>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ include <tunables/global>
|
|||
@{exec_path} = /{usr/,}bin/pkttyagent
|
||||
profile pkttyagent @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/dbus-strict>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
|
|
@ -40,6 +39,7 @@ profile pkttyagent @{exec_path} {
|
|||
|
||||
owner @{PROC}/@{pids}/stat r,
|
||||
|
||||
/dev/tty rw,
|
||||
|
||||
include if exists <local/pkttyagent>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ include <tunables/global>
|
|||
@{exec_path} = /{usr/,}sbin/resolvconf
|
||||
profile resolvconf @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
|
@ -34,6 +33,7 @@ profile resolvconf @{exec_path} {
|
|||
owner @{run}/resolvconf/{,**} rw,
|
||||
owner @{run}/resolvconf/run-lock wk,
|
||||
|
||||
/dev/tty rw,
|
||||
|
||||
include if exists <local/resolvconf>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue