-/* $OpenBSD: ldpd.c,v 1.67 2021/03/01 09:50:40 jsg Exp $ */
+/* $OpenBSD: ldpd.c,v 1.68 2021/09/06 13:32:18 deraadt Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
sockname);
if (unveil("/", "r") == -1)
- fatal("unveil");
+ fatal("unveil /");
if (unveil(NULL, NULL) == -1)
fatal("unveil");
-/* $OpenBSD: ospf6d.c,v 1.50 2021/01/19 09:54:08 claudio Exp $ */
+/* $OpenBSD: ospf6d.c,v 1.51 2021/09/06 13:32:18 deraadt Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
/* no filesystem visibility */
if (unveil("/", "") == -1)
- fatal("unveil");
+ fatal("unveil /");
if (unveil(NULL, NULL) == -1)
fatal("unveil");
-/* $OpenBSD: ospfd.c,v 1.115 2021/01/19 09:37:53 claudio Exp $ */
+/* $OpenBSD: ospfd.c,v 1.116 2021/09/06 13:32:18 deraadt Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
main_imsg_compose_ospfe_fd(IMSG_CONTROLFD, 0, control_fd);
if (unveil("/", "r") == -1)
- fatal("unveil");
+ fatal("unveil /");
if (unveil(NULL, NULL) == -1)
fatal("unveil");
-/* $OpenBSD: rarpd.c,v 1.77 2020/12/29 19:47:40 benno Exp $ */
+/* $OpenBSD: rarpd.c,v 1.78 2021/09/06 13:32:18 deraadt Exp $ */
/* $NetBSD: rarpd.c,v 1.25 1998/04/23 02:48:33 mrg Exp $ */
/*
struct ether_header *, u_int32_t, struct hostent *);
void arptab_init(void);
int arptab_set(u_char *, u_int32_t);
-__dead void error(const char *,...);
-void warning(const char *,...);
-void debug(const char *,...);
+__dead void error(const char *, ...);
+void warning(const char *, ...);
+void debug(const char *, ...);
u_int32_t ipaddrtonetmask(u_int32_t);
int rarp_bootable(u_int32_t);
arptab_init();
if (unveil(TFTP_DIR, "r") == -1)
- error("unveil");
+ error("unveil %s", TFTP_DIR);
if (unveil("/etc/ethers", "r") == -1)
- error("unveil");
+ error("unveil /etc/ethers");
if (pledge("stdio rpath dns", NULL) == -1)
error("pledge");
-/* $OpenBSD: ripd.c,v 1.35 2021/01/19 10:20:47 claudio Exp $ */
+/* $OpenBSD: ripd.c,v 1.36 2021/09/06 13:32:18 deraadt Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
/* no filesystem visibility */
if (unveil("/", "") == -1)
- fatal("unveil");
+ fatal("unveil /");
if (unveil(NULL, NULL) == -1)
fatal("unveil");
-/* $OpenBSD: snmpe.c,v 1.75 2021/09/02 05:41:02 martijn Exp $ */
+/* $OpenBSD: snmpe.c,v 1.76 2021/09/06 13:32:18 deraadt Exp $ */
/*
* Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org>
/* no filesystem visibility */
if (unveil("/", "") == -1)
- fatal("unveil");
+ fatal("unveil /");
if (unveil(NULL, NULL) == -1)
fatal("unveil");
-/* $OpenBSD: switchd.c,v 1.19 2021/01/27 07:21:54 deraadt Exp $ */
+/* $OpenBSD: switchd.c,v 1.20 2021/09/06 13:32:18 deraadt Exp $ */
/*
* Copyright (c) 2013-2016 Reyk Floeter <reyk@openbsd.org>
log_procinit("parent");
if (unveil("/", "r") == -1)
- fatal("unveil");
+ fatal("unveil /");
if (unveil("/dev", "rw") == -1)
fatal("unveil");
/*