HomeFreeBSD

show_sysctl_all: reduce copying, please coverity

Description

show_sysctl_all: reduce copying, please coverity

Modify db_show_sysctl_all so that it does not copy more than once the
data of the input oid, and so that what it passes to db_show_oid does
not alarm coverity.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D36847

Details

Provenance
dougmAuthored on Oct 1 2022, 5:20 PM
Reviewer
markj
Differential Revision
D36847: show_sysctl_all: reduce copying, please coverity
Parents
rGdddafa8d25c6: netlink: make test-includes happy by hiding most of the header
Branches
Unknown
Tags
Unknown