freebsd-skq/sbin/sysctl
Ryan Moeller 65efb73fbd sbin/sysctl: Fix CTLFLAG_SKIP for adjacent nodes
The OID is saved when we encounter CTLFLAG_SKIP so that descendants can
be skipped as well. We then must not update the skip OID until we are
out of the node. This was achieved by resetting the skip OID once the
prefix no longer matches, but the case where the OID we reset on has
CTLFLAG_SKIP was not accounted for.

Reported by:	mav
Reviewed by:	mav
MFC after:	2 days
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D28364
2021-01-27 14:27:46 -05:00
..
Makefile Move sysctl.conf to sbin/sysctl/ and switch to CONFS. 2018-08-11 13:28:03 +00:00
Makefile.depend
sysctl.8 Update man-pages to describe the user.localbase variable added in r367179. 2020-10-30 19:37:53 +00:00
sysctl.c sbin/sysctl: Fix CTLFLAG_SKIP for adjacent nodes 2021-01-27 14:27:46 -05:00
sysctl.conf Move sysctl.conf to sbin/sysctl/ and switch to CONFS. 2018-08-11 13:28:03 +00:00