vt: Rename sysctl to security.bsd.allow_tiocsti

This is consistent with allow_read_dir and allow_ptrace.

PR: 293485
Fixes: c289291a67 ("tty: Add sysctl knob to globally disable TIOCSTI")
Sponsored by: The FreeBSD Foundation
This commit is contained in:
Ed Maste
2026-06-09 14:26:42 -04:00
parent c289291a67
commit c94b8eee5b
+1 -1
View File
@@ -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");
/*