From c94b8eee5bcb5f9d116cce9c831933115cfeeb19 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 9 Jun 2026 14:26:42 -0400 Subject: [PATCH] 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 --- sys/kern/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 13147613f7f..ef0137dee80 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"); /*