From 9ce80a0b9cd8d77aaf89fc7bfa50d8a9d716f24e Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 29 Jul 2018 13:02:02 +0000 Subject: mestre and i both concluded pledge can be tightened, "unix" handles the coming code and "rpath wpath" isn't needed ok claudio --- usr.sbin/bgpctl/bgpctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c index e0fa1d7c48a..5d490b1076b 100644 --- a/usr.sbin/bgpctl/bgpctl.c +++ b/usr.sbin/bgpctl/bgpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpctl.c,v 1.209 2018/07/22 17:07:53 claudio Exp $ */ +/* $OpenBSD: bgpctl.c,v 1.210 2018/07/29 13:02:01 deraadt Exp $ */ /* * Copyright (c) 2003 Henning Brauer @@ -192,7 +192,7 @@ main(int argc, char *argv[]) break; } - if (pledge("stdio rpath wpath unix", NULL) == -1) + if (pledge("stdio unix", NULL) == -1) err(1, "pledge"); if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) -- cgit v1.2.3