freebsd-dev/sys/compat/linux
Tijl Coosemans e3b385fc95 Do proper copyin of control message data in the Linux sendmsg syscall.
Instead of calling m_append with a user address, allocate an mbuf cluster
and copy data into it using copyin.  For the SCM_CREDS case, instead of
zeroing a stack variable and appending that to the mbuf, zero part of the
mbuf cluster directly.  One mbuf cluster is also the size limit used by
the FreeBSD sendmsg syscall (uipc_syscalls.c:sockargs()).

PR:		217901
Reviewed by:	kib
MFC after:	3 days
2018-11-19 15:31:54 +00:00
..
check_error.d
check_internal_locks.d Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux_common.c On amd64 both Linux compat modules, linux.ko and linux64.ko, provide 2018-11-06 13:51:08 +00:00
linux_dtrace.h
linux_emul.c linuxulator: deduplicate linux_exec_imgact_try 2018-04-09 17:24:01 +00:00
linux_emul.h linuxulator: deduplicate linux_exec_imgact_try 2018-04-09 17:24:01 +00:00
linux_errno.c Share Linux errno table with libsysdecode 2018-03-22 12:58:49 +00:00
linux_errno.inc Map FreeBSD EDOOFUS to Linux EINVAL 2018-04-23 18:33:26 +00:00
linux_event.c Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
linux_event.h
linux_file.c Implement O_BENEATH and AT_BENEATH. 2018-10-25 22:16:34 +00:00
linux_file.h Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux_fork.c proc: always store parent pid in p_oppid 2018-11-16 17:07:54 +00:00
linux_futex.c Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
linux_futex.h Fix futexes on i386 after the 4/4G split. 2018-04-24 12:50:21 +00:00
linux_getcwd.c
linux_ioctl.c On amd64 both Linux compat modules, linux.ko and linux64.ko, provide 2018-11-06 13:51:08 +00:00
linux_ioctl.h On amd64 both Linux compat modules, linux.ko and linux64.ko, provide 2018-11-06 13:51:08 +00:00
linux_ipc64.h Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux_ipc.c sys/linux: Fix a few potential infoleaks in Linux IPC 2018-03-03 21:14:55 +00:00
linux_ipc.h Rationalize license text on Linuxolator files 2018-03-23 14:39:34 +00:00
linux_mib.c Fix the Linux kernel version number calculation 2018-06-22 00:02:03 +00:00
linux_mib.h Rationalize license text on Linuxolator files 2018-03-23 14:39:34 +00:00
linux_misc.c Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
linux_misc.h Rationalize license text on Linuxolator files 2018-03-23 14:39:34 +00:00
linux_mmap.c Eliminate the overhead of gratuitous repeated reinitialization of cap_rights 2018-05-09 18:47:24 +00:00
linux_mmap.h
linux_persona.h Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux_signal.c Linuxulator: apply style(9) to return 2018-03-12 15:35:24 +00:00
linux_signal.h Rationalize license text on Linuxolator files 2018-03-23 14:39:34 +00:00
linux_socket.c Do proper copyin of control message data in the Linux sendmsg syscall. 2018-11-19 15:31:54 +00:00
linux_socket.h Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux_stats.c linuxulator: do not include legacy syscalls on arm64 2018-06-15 14:41:51 +00:00
linux_sysctl.c Quiet unused fn warning for linuxulator w/o legacy syscalls 2018-06-25 19:24:50 +00:00
linux_sysproto.h
linux_time.c Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux_timer.c
linux_timer.h
linux_uid16.c
linux_util.c Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
linux_util.h Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux_vdso.c
linux_vdso.h
linux_videodev2_compat.h
linux_videodev_compat.h
linux.c
linux.h
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