Instead of fragile CMSG parsing, control pledge "sendfd" and "recvfd"
authorderaadt <deraadt@openbsd.org>
Sun, 18 Oct 2015 20:15:10 +0000 (20:15 +0000)
committerderaadt <deraadt@openbsd.org>
Sun, 18 Oct 2015 20:15:10 +0000 (20:15 +0000)
commit95dd115275fc900cdf835747aa31e3286dd904a7
tree1c0def7b26e2fd6db70c04a67144adf043800728
parenta2104120eb5b78b7d3de7861f7b112c9644879db
Instead of fragile CMSG parsing, control pledge "sendfd" and "recvfd"
in unp_internalize and unp_externalize.
ok kettenis guenther
sys/kern/kern_pledge.c
sys/kern/uipc_syscalls.c
sys/kern/uipc_usrreq.c
sys/sys/pledge.h