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
F150754026: D43176.id.diff
Fri, Apr 3, 8:19 PM
Unknown Object (File)
Thu, Apr 2, 6:52 PM
Unknown Object (File)
Mar 3 2026, 2:15 AM
Unknown Object (File)
Mar 1 2026, 4:10 AM
Unknown Object (File)
Feb 17 2026, 5:17 PM
Unknown Object (File)
Feb 10 2026, 9:44 PM
Unknown Object (File)
Feb 8 2026, 12:06 PM
Unknown Object (File)
Feb 8 2026, 1:22 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