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
F102869864: D43146.diff
Mon, Nov 18, 5:48 AM
Unknown Object (File)
Sep 27 2024, 8:41 PM
Unknown Object (File)
Sep 24 2024, 8:46 AM
Unknown Object (File)
Sep 24 2024, 3:08 AM
Unknown Object (File)
Sep 21 2024, 6:10 PM
Unknown Object (File)
Sep 20 2024, 4:00 PM
Unknown Object (File)
Sep 20 2024, 12:53 AM
Unknown Object (File)
Sep 17 2024, 10:55 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