https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232210
Bug ID: 232210
Summary: sendfile(2) doesn't percolate up issues with
copyout(9) related to sbytes
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Created attachment 198079
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=198079&action=edit
Percolate up errors from copyout(9) operation with `sbytes`
While doing some digging around the syscall, I noticed (via code inspection)
that it doesn't percolate issues with copyout back to userspace. This means
that failures to call copyout might result in incorrectly communicated values
for sbytes.
The attached patch percolates up the EFAULT issues from copyout.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"