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)
Dec 12 2025, 3:35 AM
Unknown Object (File)
Dec 10 2025, 9:54 AM
Unknown Object (File)
Dec 7 2025, 8:26 AM
Unknown Object (File)
Dec 5 2025, 9:06 PM
Unknown Object (File)
Nov 30 2025, 10:11 PM
Unknown Object (File)
Nov 28 2025, 10:50 PM
Unknown Object (File)
Nov 26 2025, 2:36 AM
Unknown Object (File)
Nov 26 2025, 2:36 AM
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