summaryrefslogtreecommitdiffstats
path: root/usr.sbin/relayd
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2019-08-30 16:54:20 +0000
committersthen <sthen@openbsd.org>2019-08-30 16:54:20 +0000
commitf7882bff1680bc7e90cf47d93e049b372952c193 (patch)
tree628689d21206b7c881f29dcb98adc69213557a84 /usr.sbin/relayd
parentRectify error made in 2006. SPC-2 == SCSI-3, not SCSI-2!! (diff)
downloadwireguard-openbsd-f7882bff1680bc7e90cf47d93e049b372952c193.tar.xz
wireguard-openbsd-f7882bff1680bc7e90cf47d93e049b372952c193.zip
revert r1.175 which added unveil to relayd; "check script" needs access to the
filesystem. "Well the first step is to back the commit out" deraadt@
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r--usr.sbin/relayd/relayd.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/relayd/relayd.c b/usr.sbin/relayd/relayd.c
index 622a447b003..eda2064646c 100644
--- a/usr.sbin/relayd/relayd.c
+++ b/usr.sbin/relayd/relayd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayd.c,v 1.180 2019/06/26 12:13:47 reyk Exp $ */
+/* $OpenBSD: relayd.c,v 1.181 2019/08/30 16:54:20 sthen Exp $ */
/*
* Copyright (c) 2007 - 2016 Reyk Floeter <reyk@openbsd.org>
@@ -223,11 +223,6 @@ main(int argc, char *argv[])
if (ps->ps_noaction == 0)
log_info("startup");
- if (unveil("/", "r") == -1)
- err(1, "unveil");
- if (unveil(NULL, NULL) == -1)
- err(1, "unveil");
-
event_init();
signal_set(&ps->ps_evsigint, SIGINT, parent_sig_handler, ps);