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)
Fri, Sep 27, 5:42 PM
Unknown Object (File)
Fri, Sep 27, 2:13 PM
Unknown Object (File)
Thu, Sep 26, 12:06 AM
Unknown Object (File)
Wed, Sep 25, 6:30 AM
Unknown Object (File)
Fri, Sep 20, 6:14 AM
Unknown Object (File)
Wed, Sep 4, 7:02 AM
Unknown Object (File)
Aug 24 2024, 5:03 AM
Unknown Object (File)
Aug 19 2024, 9:00 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