cache on top of the getpw* functions.
ok semarie, who didn't spot the getpw need :)
-/* $OpenBSD: lastcomm.c,v 1.21 2015/03/15 00:41:28 millert Exp $ */
+/* $OpenBSD: lastcomm.c,v 1.22 2015/10/07 14:05:07 deraadt Exp $ */
/* $NetBSD: lastcomm.c,v 1.9 1995/10/22 01:43:42 ghudson Exp $ */
/*
int ch;
char *acctfile;
+ if (tame("stdio rpath getpw", NULL) == -1)
+ err(1, "tame");
+
acctfile = _PATH_ACCT;
while ((ch = getopt(argc, argv, "f:")) != -1)
switch(ch) {