Searched hist:d0adc2f283ad5db6b568ca533a056c9f635551cd (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/kern/ |
H A D | kern_sendfile.c | diff d0adc2f283ad5db6b568ca533a056c9f635551cd Tue Dec 26 02:41:32 CET 2023 Mark Johnston <markj@FreeBSD.org> sendfile: Explicitly ignore errors from copyout()
There is a documented bug in sendfile.2 which notes that sendfile(2) does not raise an error if it fails to copy out the number of bytes written. Explicitly ignore the error from copyout() calls in preparation for annotating copyout() with __result_use_check.
Reviewed by: glebius, kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43129
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32_misc.c | diff d0adc2f283ad5db6b568ca533a056c9f635551cd Tue Dec 26 02:41:32 CET 2023 Mark Johnston <markj@FreeBSD.org> sendfile: Explicitly ignore errors from copyout()
There is a documented bug in sendfile.2 which notes that sendfile(2) does not raise an error if it fails to copy out the number of bytes written. Explicitly ignore the error from copyout() calls in preparation for annotating copyout() with __result_use_check.
Reviewed by: glebius, kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43129
|