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
F102898127: D43176.diff
Mon, Nov 18, 11:37 AM
Unknown Object (File)
Wed, Oct 23, 9:56 AM
Unknown Object (File)
Oct 3 2024, 9:59 AM
Unknown Object (File)
Sep 30 2024, 7:34 PM
Unknown Object (File)
Sep 30 2024, 6:23 AM
Unknown Object (File)
Sep 29 2024, 11:11 PM
Unknown Object (File)
Sep 29 2024, 6:07 PM
Unknown Object (File)
Sep 16 2024, 8:53 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