diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2026-06-09 18:26:42 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2026-06-09 18:27:56 +0000 |
| commit | c94b8eee5bcb5f9d116cce9c831933115cfeeb19 (patch) | |
| tree | 5f2dd6d24fb190f46416bd5eb37b688598559d86 | |
| parent | c289291a6736c01dd68fb8459ec3801859b0a59a (diff) | |
vt: Rename sysctl to security.bsd.allow_tiocsti
This is consistent with allow_read_dir and allow_ptrace.
PR: 293485
Fixes: c289291a6736 ("tty: Add sysctl knob to globally disable TIOCSTI")
Sponsored by: The FreeBSD Foundation
| -rw-r--r-- | sys/kern/tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 13147613f7f6..ef0137dee80a 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -102,7 +102,7 @@ SYSCTL_INT(_kern, OID_AUTO, tty_drainwait, CTLFLAG_RWTUN, &tty_drainwait, 0, "Default output drain timeout in seconds"); static bool tty_tiocsti = true; -SYSCTL_BOOL(_security_bsd, OID_AUTO, tiocsti, CTLFLAG_RWTUN, +SYSCTL_BOOL(_security_bsd, OID_AUTO, allow_tiocsti, CTLFLAG_RWTUN, &tty_tiocsti, 0, "Allow TIOCSTI ioctl"); /* |
