Page MenuHomeFreeBSD

mps: 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, Jun 25, 2:39 AM
Unknown Object (File)
Mon, Jun 15, 11:29 AM
Unknown Object (File)
Sun, Jun 14, 6:08 PM
Unknown Object (File)
Sun, Jun 14, 9:40 AM
Unknown Object (File)
May 17 2026, 6:19 PM
Unknown Object (File)
May 14 2026, 11:46 AM
Unknown Object (File)
Apr 17 2026, 11:46 PM
Unknown Object (File)
Apr 15 2026, 3:39 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 mps(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