opnsense-src/sys/compat/linux
Edward Tomasz Napierala 2c7f798282 linux: Fix ENOTSOCK handling in sendfile(2)
The Linux way for sendfile(2) to tell the application
to fallback to another way of copying data is by EINVAL,
not ENOTSOCK.  This fixes package installation scripts
for Mono packages from Focal.

Sponsored By:	EPSRC
Differential Revision:	https://reviews.freebsd.org/D32604
2021-10-23 09:15:58 +01:00
..
check_error.d linux(4): Eliminating remnants of futex sdt. 2021-07-29 12:52:36 +03:00
check_internal_locks.d Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux.c linux(4): Reimplement futexes using umtx. 2021-07-29 12:43:48 +03:00
linux.h linux(4): Add struct clone_args for future clone3 system call. 2021-08-12 11:49:01 +03:00
linux_common.c linux(4): Reimplement futexes using umtx. 2021-07-29 12:43:48 +03:00
linux_common.h Drop "All rights reserved" from my copyright statements. 2021-07-20 10:05:50 +03:00
linux_dtrace.h sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
linux_dummy.c linux(4): Remove clone3 and faccessat2 from dummy. 2021-08-12 16:07:21 +03:00
linux_elf.c Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
linux_elf.h linux(4): implement coredump support 2021-06-30 22:45:06 +01:00
linux_elf32.c linux(4): implement coredump support 2021-06-30 22:45:06 +01:00
linux_elf64.c linux(4): implement coredump support 2021-06-30 22:45:06 +01:00
linux_emul.c linux(4): Add struct clone_args for future clone3 system call. 2021-08-12 11:49:01 +03:00
linux_emul.h linux(4): Add struct clone_args for future clone3 system call. 2021-08-12 11:49:01 +03:00
linux_errno.c Add linux_to_bsd_errtbl[], mapping Linux errnos to their BSD counterparts. 2020-11-04 19:54:18 +00:00
linux_errno.h Unbreak buildworld after r367339. 2020-11-04 21:39:04 +00:00
linux_errno.inc Add linux_to_bsd_errtbl[], mapping Linux errnos to their BSD counterparts. 2020-11-04 19:54:18 +00:00
linux_event.c vfs: remove thread argument from VOP_STAT 2021-10-11 13:22:32 +00:00
linux_event.h Drop rdivacky@ "All rights reserved" from linux_event. 2021-07-20 10:06:16 +03:00
linux_file.c linux(4): Implement faccessat2 system call. 2021-08-12 11:40:42 +03:00
linux_file.h linux(4): Plug in aarch64 fcntl flags. 2021-08-12 11:42:50 +03:00
linux_fork.c linux(4): Move ff variable initialization from declaration. 2021-08-12 11:57:16 +03:00
linux_fork.h linux(4): Add CLONE_PIDFD option bit. 2021-08-12 11:55:24 +03:00
linux_futex.c linux(4): Improve comment. 2021-08-13 11:36:42 +03:00
linux_futex.h linux(4): Handle FUTEX_LOCK_PI2 oeration. 2021-07-29 12:55:02 +03:00
linux_getcwd.c linux(4): make getcwd(2) return ERANGE instead of ENOMEM 2021-03-12 15:31:45 +00:00
linux_ioctl.c linux: Partially implement TCSBRK 2021-10-17 11:19:56 +01:00
linux_ioctl.h linux(4): Quiesce unrecognized ioctl warning for F2FS query 2020-11-02 18:45:43 +00:00
linux_ipc.c compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_ipc.h Update syscall.master to 5.0. 2019-03-24 14:50:02 +00:00
linux_ipc64.h Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux_mib.c Change the return type of sv__setid_allowed from bool to int 2021-06-06 23:38:48 +03:00
linux_mib.h Change the return type of sv__setid_allowed from bool to int 2021-06-06 23:38:48 +03:00
linux_misc.c linux(4): implement PR_SET_NO_NEW_PRIVS 2021-07-03 08:42:37 +01:00
linux_misc.h linux(4): Implement clone3 system call. 2021-08-12 11:49:36 +03:00
linux_mmap.c Rename kern_mmap_req to kern_mmap 2021-01-25 21:50:37 +00:00
linux_mmap.h Add linux_madvise(2) instead of having Linux apps call the native 2020-06-20 18:29:22 +00:00
linux_persona.h Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux_signal.c linux: implement sigaltstack(2) on arm64 2021-07-27 13:34:49 +00:00
linux_signal.h linux(4): optimize ksiginfo to siginfo conversion. 2021-06-07 06:06:17 +03:00
linux_socket.c linux: Fix ENOTSOCK handling in sendfile(2) 2021-10-23 09:15:58 +01:00
linux_socket.h linux: recognize TCP_INFO and ratelimit the warning 2021-10-17 13:19:10 +01:00
linux_stats.c linux: improve reporting for unsupported syscall flags 2021-06-15 10:18:18 +01:00
linux_sysctl.c linux: remove redundant SDT tracepoints 2021-05-05 13:59:00 +01:00
linux_sysproto.h sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
linux_time.c linux(4): Fix clock_nanosleep return value for unsupported clockid. 2021-06-07 06:22:25 +03:00
linux_timer.c compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_timer.h linux(4): add struct timespec64 definition and conversion routine for 2021-06-07 04:47:12 +03:00
linux_uid16.c linux: remove redundant SDT tracepoints 2021-05-05 13:59:00 +01:00
linux_util.c linux(4): Eliminate unused includes. 2021-07-29 12:46:35 +03:00
linux_util.h linux(4): Add LINUX_RATELIMIT_MSG macro for future use. 2021-08-12 11:55:55 +03:00
linux_vdso.c Drop "All rights reserved" from my copyright statements. 2021-07-20 10:05:50 +03:00
linux_vdso.h Drop "All rights reserved" from my copyright statements. 2021-07-20 10:05:50 +03:00
linux_vdso_gtod.inc linux(4): Fix gcc buld. 2021-07-29 09:52:33 +03:00
linux_videodev2_compat.h Commit the missing linux_videdev2_compat.h (lost somewhere between 2011-05-04 13:09:20 +00:00
linux_videodev_compat.h This is v4l support for the linuxulator. This allows to access FreeBSD 2009-12-04 21:06:54 +00:00
stats_timing.d Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
trace_futexes.d Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00