[Glibc-bsd-commits] r5393 - branches/wheezy/kfreebsd-9/debian/patches

stevenc-guest at alioth.debian.org stevenc-guest at alioth.debian.org
Sun Jan 26 16:46:06 UTC 2014


Author: stevenc-guest
Date: 2014-01-26 16:46:06 +0000 (Sun, 26 Jan 2014)
New Revision: 5393

Modified:
   branches/wheezy/kfreebsd-9/debian/patches/disable_via_rng.diff
Log:
Adding missing headers from r240950 to fix the build:
 - sys/kernel.h for TUNABLE_INT_FETCH macro definition
 - sys/systm.h for getenv_int, used by the above macro

Document the patch with DEP-3 tags



Modified: branches/wheezy/kfreebsd-9/debian/patches/disable_via_rng.diff
===================================================================
--- branches/wheezy/kfreebsd-9/debian/patches/disable_via_rng.diff	2014-01-26 13:17:24 UTC (rev 5392)
+++ branches/wheezy/kfreebsd-9/debian/patches/disable_via_rng.diff	2014-01-26 16:46:06 UTC (rev 5393)
@@ -1,9 +1,26 @@
+Description:
+ Disable VIA hardware RNG by default due to unsafe usage.  Implement a
+ loader tunable allowing to turn it back on.
+ .
+ Minimal patch based on upstream SVN r240950 and r260644
+Origin: backports, commit:240950, commit:260644
+Forwarded: not-needed
+Bug-Debian: http://bugs.debian.org/735448
 
-Loosely based on r260644
-
---- a/sys/dev/random/probe.c
-+++ b/sys/dev/random/probe.c
-@@ -57,7 +57,12 @@
+Index: kfreebsd-9-9.0/sys/dev/random/probe.c
+===================================================================
+--- kfreebsd-9-9.0.orig/sys/dev/random/probe.c	2006-07-13 11:47:36.000000000 +0000
++++ kfreebsd-9-9.0/sys/dev/random/probe.c	2014-01-26 16:41:27.538080382 +0000
+@@ -30,6 +30,8 @@
+ 
+ #include <sys/types.h>
+ #include <sys/param.h>
++#include <sys/systm.h>
++#include <sys/kernel.h>
+ #include <sys/malloc.h>
+ #include <sys/random.h>
+ #include <sys/selinfo.h>
+@@ -57,7 +59,12 @@
  	/* Then go looking for hardware */
  #if defined(__i386__) && !defined(PC98)
  	if (via_feature_rng & VIA_HAS_RNG) {




More information about the Glibc-bsd-commits mailing list