HomeFreeBSD

stats: Check for errors from copyout()

Description

stats: Check for errors from copyout()

This is in preparation for annotating copyin() and related functions
with __result_use_check.

MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43179

(cherry picked from commit a0993376ec5f979272a62b140ec9f41bc02107b3)

Details

Provenance
markjAuthored on Jan 4 2024, 1:33 PM
Differential Revision
D43179: stats: Check for errors from copyout()
Parents
rG095ea495b84e: sysctl: Don't pass CTLFLAG_MPSAFE to SYSCTL_STRING
Branches
Unknown
Tags
Unknown