summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2018-08-04 03:23:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2018-08-04 03:23:09 +0000
commit54de9e999cc9de005abc109d6d0aae253fa3070f (patch)
treec11c404fa695c62541ecdcf9ef9cf02612ed379b /usr.sbin
parent1021402083c653207ddaa1641e1e387758e873e1 (diff)
I can find no reason why portmap needs rpath after initialization.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/portmap/portmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/portmap/portmap.c b/usr.sbin/portmap/portmap.c
index 9fbb27c4b77..e7eea45b43f 100644
--- a/usr.sbin/portmap/portmap.c
+++ b/usr.sbin/portmap/portmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: portmap.c,v 1.48 2015/10/14 13:32:44 jsg Exp $ */
+/* $OpenBSD: portmap.c,v 1.49 2018/08/04 03:23:08 deraadt Exp $ */
/*-
* Copyright (c) 1996, 1997 Theo de Raadt (OpenBSD). All rights reserved.
@@ -247,7 +247,7 @@ main(int argc, char *argv[])
}
endpwent();
- if (pledge("stdio rpath inet proc", NULL) == -1)
+ if (pledge("stdio inet proc", NULL) == -1)
err(1, "pledge");
if (svc_register(xprt, PMAPPROG, PMAPVERS, reg_service, FALSE) == 0) {
@@ -609,7 +609,7 @@ callit(struct svc_req *rqstp, SVCXPRT *xprt)
return;
}
- if (pledge("stdio rpath inet", NULL) == -1)
+ if (pledge("stdio inet", NULL) == -1)
err(1, "pledge");
port = pml->pml_map.pm_port;