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)
May 28 2026, 2:24 PM
Unknown Object (File)
May 28 2026, 5:32 AM
Unknown Object (File)
May 27 2026, 1:01 AM
Unknown Object (File)
May 25 2026, 12:09 AM
Unknown Object (File)
May 13 2026, 4:57 PM
Unknown Object (File)
May 13 2026, 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