Date: Tue, 09 Jun 2026 18:30:05 +0000 From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c94b8eee5bcb - main - vt: Rename sysctl to security.bsd.allow_tiocsti Message-ID: <6a285bad.3a6a8.12c8440e@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=c94b8eee5bcb5f9d116cce9c831933115cfeeb19 commit c94b8eee5bcb5f9d116cce9c831933115cfeeb19 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2026-06-09 18:26:42 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2026-06-09 18:27:56 +0000 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 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"); /*home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a285bad.3a6a8.12c8440e>
