freebsd-dev/sys/compat
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
..
cloudabi Implement O_BENEATH and AT_BENEATH. 2018-10-25 22:16:34 +00:00
cloudabi32 Regenerated assorted syscall related files after: 2018-10-09 20:42:17 +00:00
cloudabi64 Regenerated assorted syscall related files after: 2018-10-09 20:42:17 +00:00
freebsd32 Use the main capabilities.conf for freebsd32. 2018-11-14 00:46:02 +00:00
ia32 Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
linprocfs Fix output of linprocfs stat entry 2018-06-22 00:02:05 +00:00
linsysfs Create PCI_MATCH and pci_match_device 2018-07-07 15:25:11 +00:00
linux Do proper copyin of control message data in the Linux sendmsg syscall. 2018-11-19 15:31:54 +00:00
linuxkpi/common Define asm macro in the LinuxKPI. 2018-11-16 16:23:45 +00:00
ndis Eliminate kmem_alloc_contig()'s unused arena parameter. 2018-08-20 15:57:27 +00:00
netbsd sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
x86bios x86bios: use M_NOWAIT with mallocs 2018-09-13 07:04:00 +00:00