Page MenuHomeFreeBSD

geom: Report copyout() errors in g_ctl_ioctl_ctl()
ClosedPublic

Authored by markj on Dec 21 2023, 2:45 AM.
Tags
None
Referenced Files
F108669597: D43146.diff
Mon, Jan 27, 5:02 AM
Unknown Object (File)
Dec 25 2024, 8:36 AM
Unknown Object (File)
Dec 12 2024, 7:22 PM
Unknown Object (File)
Dec 6 2024, 6:57 AM
Unknown Object (File)
Dec 6 2024, 6:57 AM
Unknown Object (File)
Dec 2 2024, 8:29 AM
Unknown Object (File)
Dec 2 2024, 7:37 AM
Unknown Object (File)
Nov 18 2024, 8:41 AM
Subscribers
None

Details

Summary

Despite the name, req->serror is used in some cases to copy non-error
messages to userspace. So, report errors when copying out so long as
they don't clobber an earlier error.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable