HomeFreeBSD

linux: Check for copyout errors in ioctl handlers

Description

linux: Check for copyout errors in ioctl handlers

In preparation for annotating copyin() and friends with
__result_use_check.

Reviewed by: dchagin
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43199

(cherry picked from commit b9924c202fc34004d4164cdc50f88d8fcef26279)

Details

Provenance
markjAuthored on Dec 27 2023, 3:13 PM
Reviewer
dchagin
Differential Revision
D43199: linux: Check for copyout errors in ioctl handlers
Parents
rG8247b328ef0e: riscv nexus: Sort bus_set_resource in DEVMETHOD table
Branches
Unknown
Tags
Unknown