Commit Diff
Diff:
e3bf6672a8d8b859ff0119917d696cbd173f5f94
1fccb15f109b7b6996ea4a5a521d832a0bcb9251
Commit:
1fccb15f109b7b6996ea4a5a521d832a0bcb9251
Tree:
e73a38ea6c3703ec6d6f962c6c95a0762fed1118
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Tue Nov 28 17:01:18 2017 UTC
Message:
The pledge needed "proc".
blob - 1c3236413175824d948bc854f5ecbdb9f3f14721
blob + da7f181940af9f20ea66067b564bf17802097df2
--- axfr.c
+++ axfr.c
@@ -27,7 +27,7 @@
*/
/*
- * $Id: axfr.c,v 1.14 2017/11/28 16:26:12 pjp Exp $
+ * $Id: axfr.c,v 1.15 2017/11/28 17:01:18 pjp Exp $
*/
#include "ddd-include.h"
@@ -334,9 +334,9 @@ axfrloop(int *afd, int sockcount, char **ident, ddDB *
char address[INET6_ADDRSTRLEN];
#if __OpenBSD__
- if (pledge("stdio inet recvfd", NULL) < 0)
+ if (pledge("stdio inet proc recvfd", NULL) < 0)
{
- perror("pledge");
+ dolog(LOG_ERR, "pledge %s", strerror(errno));
exit(1);
}
#endif
repomaster@centroid.eu