Rework the tame cmsg handler to make it work both ways. While on recv one
authorclaudio <claudio@openbsd.org>
Tue, 6 Oct 2015 14:55:41 +0000 (14:55 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 6 Oct 2015 14:55:41 +0000 (14:55 +0000)
commitab5abb255b02bfec9199509f24200ed2c6839155
tree3ed8fbc3dc9bdc25cb109cc81f3255a394758be0
parent024e825dc2a757e3f6c1394f9634991aa1eea9f7
Rework the tame cmsg handler to make it work both ways. While on recv one
mbuf blob with all the cmsgs inside while on send cmsgs in an mbuf chain,
one mbuf per message. Adjust the calls accordingly.
Putting it in so deraadt@ can move forward.
sys/kern/kern_tame.c
sys/kern/uipc_syscalls.c
sys/sys/tame.h