Hi,

I did a quick grep of dig's pledge:

---->
beta$ grep pledge *
dig.c:  if (pledge("stdio rpath dns", NULL) == -1) {
dig.c:          perror("pledge");
dig.c:  if (pledge("stdio dns", NULL) == -1) {
dig.c:          perror("pledge");
<----

and noticed that there is no inet pledge.  The problem is when I do
a dig @server +tcp example.com, dig gets killed with an inet pledge
recomendation.

beta$ dmesg | tail -1 
dig[42760]: pledge "inet", syscall 105

I'm aware that dig was only recently upgraded and I don't want to step
on anyones toes.  Is there a fix for the dns pledge or an addition to
dig's pledges foreseen?

Best regards,
-peter

Reply via email to