Page MenuHomeFreeBSD

mpr: Handle errors from copyout() in ioctl handlers
ClosedPublic

Authored by markj on Dec 25 2023, 5:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 13, 6:29 AM
Unknown Object (File)
Sun, Oct 5, 2:17 AM
Unknown Object (File)
Sun, Sep 21, 6:12 AM
Unknown Object (File)
Fri, Sep 19, 8:29 AM
Unknown Object (File)
Thu, Sep 18, 12:59 PM
Unknown Object (File)
Thu, Sep 18, 12:55 PM
Unknown Object (File)
Sep 4 2025, 10:55 PM
Unknown Object (File)
Aug 14 2025, 11:36 PM
Subscribers
None

Details

Summary

In preparation for adding a __result_use_check annotation to copyin()
and related functions, start checking for errors from copyout() in
the mpr(4) user command handler. This should make it easier to catch
bugs.

MFC after: 1 month

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable