diff options
author | 2019-02-07 19:11:23 +0000 | |
---|---|---|
committer | 2019-02-07 19:11:23 +0000 | |
commit | e11291e4b0ca07bc003204ba3e2360b11a82db0b (patch) | |
tree | 21d53d230ea5cb1974bd888561eb1ed03b97edb7 | |
parent | No need to run unbound-anchor anymore. Unwind(8) handles the bootstrap (diff) | |
download | wireguard-openbsd-e11291e4b0ca07bc003204ba3e2360b11a82db0b.tar.xz wireguard-openbsd-e11291e4b0ca07bc003204ba3e2360b11a82db0b.zip |
Remove rpath from pledge when only stdin is used.
ok schwarze@
-rw-r--r-- | usr.bin/cut/cut.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cut/cut.c b/usr.bin/cut/cut.c index c6be16ffe0e..162896d109e 100644 --- a/usr.bin/cut/cut.c +++ b/usr.bin/cut/cut.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cut.c,v 1.25 2018/07/13 08:51:14 krw Exp $ */ +/* $OpenBSD: cut.c,v 1.26 2019/02/07 19:11:23 tobias Exp $ */ /* $NetBSD: cut.c,v 1.9 1995/09/02 05:59:23 jtc Exp $ */ /* @@ -142,7 +142,7 @@ main(int argc, char *argv[]) } } else { - if (pledge("stdio rpath", NULL) == -1) + if (pledge("stdio", NULL) == -1) err(1, "pledge"); fcn(stdin, "stdin"); |