diff options
author | 2016-08-05 11:34:51 +0000 | |
---|---|---|
committer | 2016-08-05 11:34:51 +0000 | |
commit | 537e86a770e6a8fa76facae81844cc2b1d26f217 (patch) | |
tree | 32c31aadab30b417e2af878bfda5d7873e4321d1 | |
parent | Rework logging. (diff) | |
download | wireguard-openbsd-537e86a770e6a8fa76facae81844cc2b1d26f217.tar.xz wireguard-openbsd-537e86a770e6a8fa76facae81844cc2b1d26f217.zip |
Use tighter pledge(2) restrictions.
Made possible by the logging overhaul. Tested by Freddy Dissaux.
-rw-r--r-- | usr.sbin/route6d/route6d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c index 1117807b829..1f06e71c6a7 100644 --- a/usr.sbin/route6d/route6d.c +++ b/usr.sbin/route6d/route6d.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route6d.c,v 1.89 2016/08/05 11:32:28 jca Exp $ */ +/* $OpenBSD: route6d.c,v 1.90 2016/08/05 11:34:51 jca Exp $ */ /* $KAME: route6d.c,v 1.111 2006/10/25 06:38:13 jinmei Exp $ */ /* @@ -317,7 +317,7 @@ main(int argc, char *argv[]) init(); - if (pledge("stdio rpath wpath cpath inet route mcast", NULL) == -1) + if (pledge("stdio inet route mcast", NULL) == -1) fatal("pledge"); ifconfig(); |