HomeFreeBSD

Don't generate data in sysctl_out_proc unless we intend to copy out.

Description

Don't generate data in sysctl_out_proc unless we intend to copy out.

The first call is used to gauge how much spaces is needed. Just computing
the size instead of generating the output allows to not take the proctree
lock.

Details

Provenance
mjgAuthored on
Parents
rS329984: Don't declare __assfail as static
Branches
Unknown
Tags
Unknown