Page MenuHomeFreeBSD

mpr: Handle errors from copyout() in ioctl handlers
ClosedPublic

Authored by markj on Dec 25 2023, 5:58 PM.
Tags
None
Referenced Files
F154450955: D43177.diff
Tue, Apr 28, 3:58 PM
Unknown Object (File)
Mon, Apr 27, 6:33 PM
Unknown Object (File)
Wed, Apr 22, 8:50 PM
Unknown Object (File)
Fri, Apr 10, 2:52 AM
Unknown Object (File)
Sat, Apr 4, 12:52 AM
Unknown Object (File)
Mar 16 2026, 9:37 PM
Unknown Object (File)
Mar 16 2026, 9:28 PM
Unknown Object (File)
Mar 14 2026, 2:13 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 mpr(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 Skipped
Unit
Tests Skipped
Build Status
Buildable 55107
Build 51996: arc lint + arc unit