artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcd124f
)
mestre and i both concluded pledge can be tightened, "unix" handles the
author
deraadt
<deraadt@openbsd.org>
Sun, 29 Jul 2018 13:02:01 +0000
(13:02 +0000)
committer
deraadt
<deraadt@openbsd.org>
Sun, 29 Jul 2018 13:02:01 +0000
(13:02 +0000)
coming code and "rpath wpath" isn't needed
ok claudio
usr.sbin/bgpctl/bgpctl.c
patch
|
blob
|
history
diff --git
a/usr.sbin/bgpctl/bgpctl.c
b/usr.sbin/bgpctl/bgpctl.c
index
e0fa1d7
..
5d490b1
100644
(file)
--- a/
usr.sbin/bgpctl/bgpctl.c
+++ b/
usr.sbin/bgpctl/bgpctl.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: bgpctl.c,v 1.2
09 2018/07/22 17:07:53 claudio
Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.2
10 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)