HomeFreeBSD

uhid: Check for errors from copyin() in ioctl handlers

Description

uhid: Check for errors from copyin() in ioctl handlers

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

Reviewed by: wulf
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43103

(cherry picked from commit b2caed2f8d699d6dc59ecf8810d945cdea148c44)

Details

Provenance
markjAuthored on Dec 26 2023, 1:38 AM
Reviewer
wulf
Differential Revision
D43103: uhid: Check for errors from copyin() in ioctl handlers
Parents
rG7db5449ec5b1: hid: Handle errors from copyin() in ioctl handlers
Branches
Unknown
Tags
Unknown