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)
Wed, May 8, 3:17 AM
Unknown Object (File)
Apr 27 2024, 2:25 PM
Unknown Object (File)
Apr 27 2024, 2:25 PM
Unknown Object (File)
Apr 27 2024, 1:31 PM
Unknown Object (File)
Apr 27 2024, 1:00 PM
Unknown Object (File)
Apr 7 2024, 11:23 PM
Unknown Object (File)
Mar 18 2024, 7:52 AM
Unknown Object (File)
Mar 12 2024, 6:09 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