-/* $OpenBSD: finger.c,v 1.23 2015/10/10 20:35:00 deraadt Exp $ */
+/* $OpenBSD: finger.c,v 1.24 2015/10/18 03:54:22 deraadt Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
mflag++;
}
- if (pledge("stdio rpath getpw inet", NULL) == -1)
+ if (pledge("stdio rpath getpw dns inet", NULL) == -1)
err(1, "pledge");
(void)time(&now);
-/* $OpenBSD: main.c,v 1.37 2015/10/09 01:37:09 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.38 2015/10/18 03:54:22 deraadt Exp $ */
/* $NetBSD: main.c,v 1.6 1995/05/21 16:54:10 mycroft Exp $ */
/*
{
f = -1;
- if (pledge("stdio inet rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath dns inet", NULL) == -1)
err(1, "pledge");
/* set default transfer mode */
-/* $OpenBSD: tftpd.c,v 1.31 2015/10/10 22:21:39 deraadt Exp $ */
+/* $OpenBSD: tftpd.c,v 1.32 2015/10/18 03:54:22 deraadt Exp $ */
/*
* Copyright (c) 2012 David Gwynne <dlg@uq.edu.au>
if (!debug && daemon(1, 0) == -1)
err(1, "unable to daemonize");
- if (pledge("stdio rpath wpath cpath fattr inet", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath fattr dns inet", NULL) == -1)
err(1, "pledge");
event_init();