HomeFreeBSD

Use a regular sbuf + SYSCTL_OUT() rather than sbuf_new_for_sysctl() with

Description

Use a regular sbuf + SYSCTL_OUT() rather than sbuf_new_for_sysctl() with
auto-draining, to avoid a potential copyout fault while holding a lock.

Pointed out by: jhb
Pointy hat to: ian

Details

Provenance
• ianAuthored on
Parents
rS280149: Update an sbuf assertion to allow for the new SBUF_INCLUDENUL flag. If
Branches
Unknown
Tags
Unknown

Event Timeline