]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'improve-msg_control-kernel-vs-user-pointer-handling'
authorDavid S. Miller <davem@davemloft.net>
Mon, 11 May 2020 23:59:16 +0000 (16:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 May 2020 23:59:16 +0000 (16:59 -0700)
commitdef8f33ddc5ecca8c095ac8a1449507a33ed63de
tree1f8ca24224e9aa0dbaf924bec224deb08d1ab505
parent557f6b071e6a0ffab263ee0c52750321f6759477
parent59dd869cf13f8b0f833c0dfc9487ad3ecfd756fa
Merge branch 'improve-msg_control-kernel-vs-user-pointer-handling'

Christoph Hellwig says:

====================
improve msg_control kernel vs user pointer handling

this series replace the msg_control in the kernel msghdr structure
with an anonymous union and separate fields for kernel vs user
pointers.  In addition to helping a bit with type safety and reducing
sparse warnings, this also allows to remove the set_fs() in
kernel_recvmsg, helping with an eventual entire removal of set_fs().
====================

Signed-off-by: David S. Miller <davem@davemloft.net>