=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/patch/patch.c,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- src/usr.bin/patch/patch.c 2015/10/04 18:11:22 1.57 +++ src/usr.bin/patch/patch.c 2015/10/07 06:29:26 1.58 @@ -1,4 +1,4 @@ -/* $OpenBSD: patch.c,v 1.57 2015/10/04 18:11:22 deraadt Exp $ */ +/* $OpenBSD: patch.c,v 1.58 2015/10/07 06:29:26 deraadt Exp $ */ /* * patch - a program to apply diffs to original files @@ -147,7 +147,7 @@ const char *tmpdir; char *v; - if (tame("stdio rpath wpath cpath tmppath fattr", NULL) == -1) + if (tame("stdio rpath wpath cpath tmppath fattr proc exec", NULL) == -1) perror("tame"); setvbuf(stdout, NULL, _IOLBF, 0);