for dropping some path attributes in between, but i will let someone
else do that.
ok doug
-/* $OpenBSD: sdiff.c,v 1.32 2015/02/05 12:59:58 millert Exp $ */
+/* $OpenBSD: sdiff.c,v 1.33 2015/10/10 19:03:08 deraadt Exp $ */
/*
* Written by Raymond Lai <ray@cyth.net>.
char **diffargv, *diffprog = "diff", *filename1, *filename2,
*tmp1, *tmp2, *s1, *s2;
+ if (pledge("stdio rpath wpath cpath proc exec", NULL) == -1)
+ err(1, "pledge");
+
/*
* Process diff flags.
*/