diff options
author | Anthony J. Bentley <bentley@cvs.openbsd.org> | 2015-11-19 19:30:45 +0000 |
---|---|---|
committer | Anthony J. Bentley <bentley@cvs.openbsd.org> | 2015-11-19 19:30:45 +0000 |
commit | 0a72cacc131f9d67fa5f70c18e7adef854332882 (patch) | |
tree | 911963c27639d8d3d3d73f7d925b591885bbd92b /usr.bin | |
parent | 15134d1bb1dd1013fae592c5e27e1c7d7f01503b (diff) |
"tty proc exec", not "proc exec tty"
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mg/main.c | 4 | ||||
-rw-r--r-- | usr.bin/vi/common/main.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mg/main.c b/usr.bin/mg/main.c index a892906b0a5..1639f2c17ba 100644 --- a/usr.bin/mg/main.c +++ b/usr.bin/mg/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.79 2015/11/11 15:37:34 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.80 2015/11/19 19:30:44 bentley Exp $ */ /* This file is in the public domain. */ @@ -56,7 +56,7 @@ main(int argc, char **argv) int nobackups = 0; struct buffer *bp = NULL; - if (pledge("stdio rpath wpath cpath fattr getpw proc exec tty", NULL) == -1) + if (pledge("stdio rpath wpath cpath fattr getpw tty proc exec", NULL) == -1) err(1, "pledge"); while ((o = getopt(argc, argv, "nf:")) != -1) diff --git a/usr.bin/vi/common/main.c b/usr.bin/vi/common/main.c index 2c54b8d278d..7f8921b8bb7 100644 --- a/usr.bin/vi/common/main.c +++ b/usr.bin/vi/common/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.28 2015/11/15 01:22:36 bentley Exp $ */ +/* $OpenBSD: main.c,v 1.29 2015/11/19 19:30:44 bentley Exp $ */ /*- * Copyright (c) 1992, 1993, 1994 @@ -55,7 +55,7 @@ editor(GS *gp, int argc, char *argv[]) int ch, flagchk, lflag, secure, startup, readonly, rval, silent; char *tag_f, *wsizearg, path[256]; - if (pledge("stdio rpath wpath cpath fattr flock getpw proc exec tty", NULL) == -1) { + if (pledge("stdio rpath wpath cpath fattr flock getpw tty proc exec", NULL) == -1) { perror("pledge"); goto err; } |