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)
Thu, May 28, 2:24 PM
Unknown Object (File)
Thu, May 28, 5:32 AM
Unknown Object (File)
Wed, May 27, 1:01 AM
Unknown Object (File)
Mon, May 25, 12:09 AM
Unknown Object (File)
Wed, May 13, 4:57 PM
Unknown Object (File)
Wed, May 13, 4:45 PM
Unknown Object (File)
Apr 30 2026, 8:41 AM
Unknown Object (File)
Apr 28 2026, 3:58 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