mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Mark kern.ttys as MPSAFE.
sysctl now allows Giantless calls, so make kern.ttys use this. If it needs Giant, it locks the proper TTY anyway.
This commit is contained in:
parent
6e2dc05379
commit
bfcbfff0c7
1 changed files with 1 additions and 1 deletions
|
|
@ -1053,7 +1053,7 @@ sysctl_kern_ttys(SYSCTL_HANDLER_ARGS)
|
|||
return (error);
|
||||
}
|
||||
|
||||
SYSCTL_PROC(_kern, OID_AUTO, ttys, CTLTYPE_OPAQUE|CTLFLAG_RD,
|
||||
SYSCTL_PROC(_kern, OID_AUTO, ttys, CTLTYPE_OPAQUE|CTLFLAG_RD|CTLFLAG_NOLOCK,
|
||||
0, 0, sysctl_kern_ttys, "S,xtty", "List of TTYs");
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue