=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/finger/finger.c,v retrieving revision 1.22 retrieving revision 1.23 diff -c -r1.22 -r1.23 *** src/usr.bin/finger/finger.c 2015/10/09 01:37:07 1.22 --- src/usr.bin/finger/finger.c 2015/10/10 20:35:00 1.23 *************** *** 1,4 **** ! /* $OpenBSD: finger.c,v 1.22 2015/10/09 01:37:07 deraadt Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: finger.c,v 1.23 2015/10/10 20:35:00 deraadt Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. *************** *** 126,132 **** mflag++; } ! if (pledge("stdio getpw rpath inet", NULL) == -1) err(1, "pledge"); (void)time(&now); --- 126,132 ---- mflag++; } ! if (pledge("stdio rpath getpw inet", NULL) == -1) err(1, "pledge"); (void)time(&now); *************** *** 137,143 **** * not selected. Force the -s BEFORE we get names so proper * screening will be done. */ ! if (pledge("stdio getpw rpath", NULL) == -1) err(1, "pledge"); if (!lflag) sflag = 1; /* if -l not explicit, force -s */ --- 137,143 ---- * not selected. Force the -s BEFORE we get names so proper * screening will be done. */ ! if (pledge("stdio rpath getpw", NULL) == -1) err(1, "pledge"); if (!lflag) sflag = 1; /* if -l not explicit, force -s */ *************** *** 220,226 **** goto net; if (nettail == &nethead) ! if (pledge("stdio getpw rpath", NULL) == -1) err(1, "pledge"); /* --- 220,226 ---- goto net; if (nettail == &nethead) ! if (pledge("stdio rpath getpw", NULL) == -1) err(1, "pledge"); /*