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)
Sun, Oct 19, 3:36 PM
Unknown Object (File)
Sat, Oct 11, 3:53 AM
Unknown Object (File)
Sat, Oct 11, 3:53 AM
Unknown Object (File)
Wed, Oct 8, 12:40 PM
Unknown Object (File)
Wed, Oct 8, 8:02 AM
Unknown Object (File)
Sep 10 2025, 9:41 PM
Unknown Object (File)
Sep 10 2025, 7:20 PM
Unknown Object (File)
Aug 14 2025, 10:54 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 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