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
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
Unknown Object (File)
Sep 17 2024, 9:17 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