Call pledge(2) after initial getsockname(2) to avoid "inet" addition.
authoruebayasi <uebayasi@openbsd.org>
Mon, 12 Oct 2015 16:54:30 +0000 (16:54 +0000)
committeruebayasi <uebayasi@openbsd.org>
Mon, 12 Oct 2015 16:54:30 +0000 (16:54 +0000)
commit5b15ea38d0ab80cbf822aa0248261774b9f199be
tree964b3890b6fc6b7a3f79f3bda05fbd87f183ae44
parentfab1d31e5befebb0aae27296f50d81bdfef16d90
Call pledge(2) after initial getsockname(2) to avoid "inet" addition.

From & OK deraadt@
libexec/comsat/comsat.c