summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorSebastian Benoit <benno@cvs.openbsd.org>2015-12-03 09:27:00 +0000
committerSebastian Benoit <benno@cvs.openbsd.org>2015-12-03 09:27:00 +0000
commitad0b1331f86a0251260c61dfab1c48c4e299cdff (patch)
tree536e70cd5007a7506c970edd9772168c6a78ed5c /usr.sbin
parent4cd356cfd5271fd5fdb3f2b873f52f9197cfa77d (diff)
claudio questioned the need for pledge(unix) in the rde, and i think
he is right. ok claudio@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpd/rde.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index b30f536ce6e..3f5c34b33b4 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.343 2015/11/06 16:23:26 phessler Exp $ */
+/* $OpenBSD: rde.c,v 1.344 2015/12/03 09:26:59 benno Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -187,7 +187,7 @@ rde_main(int debug, int verbose)
setresuid(pw->pw_uid, pw->pw_uid, pw->pw_uid))
fatal("can't drop privileges");
- if (pledge("stdio unix route recvfd", NULL) == -1)
+ if (pledge("stdio route recvfd", NULL) == -1)
fatal("pledge");
signal(SIGTERM, rde_sighdlr);