tijl 823217168b 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
..
2018-11-19 03:02:47 +00:00
2018-10-20 20:45:49 +00:00
2018-11-12 22:18:11 +00:00
2018-10-20 22:39:35 +00:00
2018-11-01 23:11:47 +00:00
2018-11-19 00:54:31 +00:00
2018-07-15 00:31:17 +00:00
2018-11-16 23:39:39 +00:00