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)
Tue, Feb 10, 9:44 PM
Unknown Object (File)
Sun, Feb 8, 12:06 PM
Unknown Object (File)
Sun, Feb 8, 1:22 AM
Unknown Object (File)
Sat, Jan 31, 2:30 AM
Unknown Object (File)
Tue, Jan 27, 6:08 PM
Unknown Object (File)
Dec 23 2025, 2:50 PM
Unknown Object (File)
Dec 4 2025, 3:48 PM
Unknown Object (File)
Dec 4 2025, 12:37 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