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
@ -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…
x
Reference in New Issue
Block a user