sendmsg() is allowed to pass cmsg's which are not CMSG_RIGHTS - last
authorderaadt <deraadt@openbsd.org>
Wed, 14 Oct 2015 03:27:02 +0000 (03:27 +0000)
committerderaadt <deraadt@openbsd.org>
Wed, 14 Oct 2015 03:27:02 +0000 (03:27 +0000)
commit3793cba736c43fb81d6de22c72f5d1d745b50edc
tree8ea70f8e6dea81c56e3663ffc16635468b83938d
parente09cbf079135fc8dbf825dd3f53fbfa0ab80dde2
sendmsg() is allowed to pass cmsg's which are not CMSG_RIGHTS - last
refactoring inverted the checks; spotted by sthen in ping6.
sys/kern/kern_pledge.c