kaktus dfcb6515fc sysctl(9): add CTLFLAG_NEEDGIANT flag
Add CTLFLAG_NEEDGIANT flag (modelled after D_NEEDGIANT) that will be used to
mark sysctls that still require locking Giant.

Rewrite sysctl_handle_string() to use internal locking instead of locking
Giant.

Mark SYSCTL_STRING, SYSCTL_OPAQUE and their variants as MPSAFE.

Add infrastructure support for enforcing proper use of CTLFLAG_NEEDGIANT
and CTLFLAG_MPSAFE flags with SYSCTL_PROC and SYSCTL_NODE, not enabled yet.

Reviewed by:	kib (mentor)
Approved by:	kib (mentor)
Differential Revision:	https://reviews.freebsd.org/D23378
2020-02-06 12:45:58 +00:00
..
2020-02-03 17:35:11 +00:00
2019-12-15 21:11:15 +00:00
2020-02-03 22:26:00 +00:00
2020-02-03 17:35:11 +00:00
2019-09-03 18:56:25 +00:00
2019-08-28 16:18:23 +00:00
2020-01-05 12:48:19 +00:00
2020-01-05 12:48:19 +00:00
2019-03-12 05:10:41 +00:00
2018-10-12 00:32:45 +00:00
2020-01-05 12:48:19 +00:00
2020-02-03 17:35:11 +00:00
2019-12-15 21:11:15 +00:00
2018-06-01 13:26:45 +00:00
2019-02-20 09:38:19 +00:00
2019-12-15 21:11:15 +00:00
2019-12-15 21:26:50 +00:00
2020-02-03 17:35:11 +00:00
2020-02-03 17:35:11 +00:00
2020-01-12 23:52:16 +00:00
2019-09-26 15:41:10 +00:00
2020-02-02 16:34:57 +00:00
2020-02-02 16:34:57 +00:00