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)
Sat, Jan 31, 9:42 AM
Unknown Object (File)
Dec 31 2025, 9:26 AM
Unknown Object (File)
Dec 20 2025, 7:42 AM
Unknown Object (File)
Dec 8 2025, 4:24 PM
Unknown Object (File)
Dec 5 2025, 1:15 AM
Unknown Object (File)
Nov 25 2025, 3:48 PM
Unknown Object (File)
Nov 24 2025, 2:36 AM
Unknown Object (File)
Nov 18 2025, 1:06 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 55061
Build 51950: arc lint + arc unit