 +	 *       should raise(SIGKILL)
 +	 *     - Do the best under the circumstances....
 +	 *
-+	 * This code path exists to bring light to the issue that Linux
++	 * This code path exists to bring light to the issue that Hurd
 +	 * does not provide a failsafe API for entropy collection.
 +	 *
-+	 * We hope this demonstrates that Linux should either retain their
++	 * We hope this demonstrates that Hurd should either get a
 +	 * sysctl ABI, or consider providing a new failsafe API which
 +	 * works in a chroot or when file descriptors are exhausted.
 +	 */

+	return (0);
+}
+
+#ifdef SYS_getrandom
+static int
+getentropy_getrandom(void *buf, size_t len)
+{
+	int pre_errno = errno;
+	int ret;
+	if (len > 256)
+		return (-1);
+	do {
+		ret = syscall(SYS_getrandom, buf, len, 0);
+	} while (ret == -1 && errno == EINTR);
+
+	if (ret != (int)len)
+		return (-1);
+	errno = pre_errno;
+	return (0);
+}
+#endif
+
+static int
+getentropy_urandom(void *buf, size_t len)
+{
+	struct stat st;
+	size_t i;
+	int fd, cnt, flags;
+	int save_errno = errno;
+
+start:

+#endif
+  }
+}
diff -uprN netcat-openbsd-1.130.bk/explicit_bzero.c netcat-openbsd-1.130/explicit_bzero.c
--- netcat-openbsd-1.130.bk/explicit_bzero.c	1970-01-01 08:00:00.000000000 +0800
+++ netcat-openbsd-1.130/explicit_bzero.c	2015-09-25 10:10:03.000000000 +0800
@@ -0,0 +1,19 @@
+/*	$OpenBSD: explicit_bzero.c,v 1.3 2014/06/21 02:34:26 matthew Exp $ */
+/*
+ * Public domain.
+ * Written by Matthew Dempsky.
+ */
+
+#include <string.h>
+
+__attribute__((weak)) void
+__explicit_bzero_hook(void *buf, size_t len)
+{
+}
+
+void
+explicit_bzero(void *buf, size_t len)
+{
+	memset(buf, 0, len);
+	__explicit_bzero_hook(buf, len);
+}
diff -uprN netcat-openbsd-1.130.bk/getentropy_hurd.c netcat-openbsd-1.130/getentropy_hurd.c
--- netcat-openbsd-1.130.bk/getentropy_hurd.c	1970-01-01 08:00:00.000000000 +0800
+++ netcat-openbsd-1.130/getentropy_hurd.c	2016-03-27 18:21:36.000000000 +0800
@@ -0,0 +1,446 @@
+/*	$OpenBSD: getentropy_linux.c,v 1.40 2015/08/25 17:26:43 deraadt Exp $	*/
+
+/*
