Date: Fri, 12 Oct 2018 23:25:33 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 232210] sendfile(2) doesn't percolate up issues with copyout(9) related to sbytes Message-ID: <bug-232210-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232210 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: bugs@FreeBSD.org Reporter: yaneurabeya@gmail.com Created attachment 198079 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D198079&action= =3Dedit 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 valu= es for sbytes. The attached patch percolates up the EFAULT issues from copyout. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232210-227>