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:
+1
-1
@@ -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");
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user