summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2016-10-26 19:21:52 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2016-10-26 19:21:52 +0000
commit2bf68562538f1aa72cecb1b8092f4bef022a23a7 (patch)
tree3006bbf820a5702868db6a05d5ee1a470cdf779a /app
parent62ccd57bd76c6409c4d6581dd65709bf9b25eadf (diff)
With the disabling of Tektronics emulation, the pledge(2) promises could
be reduced a bit: no more "cpath" should be required. from Sebastien Marie. Thanks. Reviewed by schwarze@, "put it in" deraadt@
Diffstat (limited to 'app')
-rw-r--r--app/xterm/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/xterm/main.c b/app/xterm/main.c
index 7e6aafac3..7f48ffb89 100644
--- a/app/xterm/main.c
+++ b/app/xterm/main.c
@@ -2634,12 +2634,12 @@ main(int argc, char *argv[]ENVP_ARG)
if (data &&
(strstr(data, "exec-formatted") || strstr(data, "exec-selectable"))) {
- if (pledge("stdio rpath wpath cpath id proc exec tty", NULL) == -1) {
+ if (pledge("stdio rpath wpath id proc exec tty", NULL) == -1) {
xtermWarning("pledge\n");
exit(1);
}
} else {
- if (pledge("stdio rpath wpath cpath id proc tty", NULL) == -1) {
+ if (pledge("stdio rpath wpath id proc tty", NULL) == -1) {
xtermWarning("pledge\n");
exit(1);
}