$OpenBSD: patch-src_iodined_c,v 1.1.1.1 2008/02/06 21:42:28 bernd Exp $

Drop privileges and chroot by default.

--- src/iodined.c.orig	Fri Nov 30 23:11:30 2007
+++ src/iodined.c	Fri Feb  1 20:54:41 2008
@@ -447,8 +447,8 @@ main(int argc, char **argv)
 	int port;
 	int mtu;
 
-	username = NULL;
-	newroot = NULL;
+	username = "_iodine";
+	newroot = "/var/empty";
 	device = NULL;
 	foreground = 0;
 	mtu = 1024;
