]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ddb: Add sysctl flag CTLFLAG_TUN to loader tunable
authorZhenlei Huang <zlei@FreeBSD.org>
Mon, 9 Oct 2023 10:30:21 +0000 (18:30 +0800)
committerZhenlei Huang <zlei@FreeBSD.org>
Mon, 9 Oct 2023 10:30:21 +0000 (18:30 +0800)
commit0eb2e197896e2ec8a45730b61eeb77d5431af69f
tree04323767ea621b72df291f8713a72e185b851d93
parente2ad7ce37b1a354750d2dd3567e77f72edeb7e1d
ddb: Add sysctl flag CTLFLAG_TUN to loader tunable

The sysctl variable 'debug.ddb.capture.bufsize' is actually a loader
tunable. Add sysctl flag CTLFLAG_TUN to it so that `sysctl -T` will
report it correctly.

No functional change intended.

Reviewed by: kib, imp
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D42113
sys/ddb/db_capture.c