Add pledge(2) to the child processes.
authorrenato <renato@openbsd.org>
Fri, 23 Oct 2015 10:10:17 +0000 (10:10 +0000)
committerrenato <renato@openbsd.org>
Fri, 23 Oct 2015 10:10:17 +0000 (10:10 +0000)
commit78497d213c65f1b9af0b1f5687bc52192fe6a928
tree3b63a2772821bb440d0dd68b4f1a8f0237f7336d
parent4c3cf3ef31bb924530bda708297e7b4d3d4f5e5b
Add pledge(2) to the child processes.

This is almost identical to the eigrpd(8) pledge diff, with the exception
that the parent process can not be pledged bacause of a SIOCSETMPWCFG
ioctl used to configure pseudowires.

Looks good to deraadt@.
usr.sbin/ldpd/lde.c
usr.sbin/ldpd/ldpe.c