opnsense-src/sys/compat/freebsd32
Mark Johnston c7975edd99 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

(cherry picked from commit d0adc2f283ad5db6b568ca533a056c9f635551cd)
2024-01-01 19:29:51 -05:00
..
freebsd32.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
freebsd32_abort2.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
freebsd32_capability.c freebsd32: Fix error handling for suword32() calls 2023-12-27 21:58:47 -05:00
freebsd32_ioctl.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
freebsd32_ioctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
freebsd32_ipc.h sysvipc: Fix 32-bit compat on !i386 2023-12-13 23:10:53 +00:00
freebsd32_misc.c sendfile: Explicitly ignore errors from copyout() 2024-01-01 19:29:51 -05:00
freebsd32_misc.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
freebsd32_proto.h timerfd: Move implementation from linux compat to sys/kern 2023-08-24 14:28:56 -06:00
freebsd32_signal.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
freebsd32_syscall.h freebsd32: Remove mac_syscall from the unimpl list 2023-08-24 18:45:31 -04:00
freebsd32_syscalls.c freebsd32: Remove mac_syscall from the unimpl list 2023-08-24 18:45:31 -04:00
freebsd32_sysent.c freebsd32: Remove mac_syscall from the unimpl list 2023-08-24 18:45:31 -04:00
freebsd32_systrace_args.c freebsd32: Remove mac_syscall from the unimpl list 2023-08-24 18:45:31 -04:00
freebsd32_util.h FEATURE compat_freebsd_32bit: only report on arm64 when support is present 2023-11-28 13:39:38 +02:00
Makefile sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
syscalls.conf makesyscalls: don't make syscall.mk by default 2023-12-13 23:07:06 +00:00