diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2018-07-29 13:02:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2018-07-29 13:02:02 +0000 |
commit | 9ce80a0b9cd8d77aaf89fc7bfa50d8a9d716f24e (patch) | |
tree | 533cf4e2a6465424fc913052e5ff752b36d33ad8 /usr.sbin | |
parent | 81b597b5fcf414125142926414eab3f028982054 (diff) |
mestre and i both concluded pledge can be tightened, "unix" handles the
coming code and "rpath wpath" isn't needed
ok claudio
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpctl/bgpctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <henning@openbsd.org> @@ -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) |