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
Unknown Object (File)
Mon, Sep 7, 4:49 AM
Unknown Object (File)
Sun, Sep 6, 8:35 AM
Unknown Object (File)
Aug 27 2026, 10:25 PM
Unknown Object (File)
Aug 27 2026, 10:23 PM
Unknown Object (File)
Aug 22 2026, 11:49 AM
Unknown Object (File)
Aug 20 2026, 3:01 PM
Unknown Object (File)
Aug 18 2026, 4:02 PM
Unknown Object (File)
Aug 18 2026, 10:48 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