the need for getpw. Not sure if I see ways to improve this program.
ok doug
-/* $OpenBSD: sendbug.c,v 1.69 2015/01/16 06:40:11 deraadt Exp $ */
+/* $OpenBSD: sendbug.c,v 1.70 2015/10/10 19:10:20 deraadt Exp $ */
/*
* Written by Ray Lai <ray@cyth.net>.
time_t mtime;
FILE *fp;
+ if (pledge("stdio getpw rpath wpath cpath tmppath proc exec", NULL) == -1)
+ err(1, "pledge");
+
while ((ch = getopt(argc, argv, "DEPV")) != -1)
switch (ch) {
case 'D':