Index: trunk/configure.ac
===================================================================
--- trunk/configure.ac	(revision 436)
+++ trunk/configure.ac	(revision 437)
@@ -12,5 +12,5 @@
 dnl start
 dnl
-AM_INIT_AUTOMAKE(samhain, 3.0.12)
+AM_INIT_AUTOMAKE(samhain, 3.0.13)
 AC_DEFINE([SAMHAIN], 1, [Application is samhain])
 AC_CANONICAL_HOST
@@ -2183,6 +2183,6 @@
 		     	if test -c /dev/kmem; then
 			   AC_MSG_CHECKING([whether /dev/kmem is useable])
-			   dd bs=4 if=/dev/kmem of=/dev/null 2>&1 | grep opening >/dev/null
-			   if test $? -ne 0; then
+			   dd bs=4 count=16 if=/dev/kmem of=/dev/null >/dev/null 2>&1 
+			   if test $? -eq 0; then
 			      test_kmap_open=yes
 			   fi
Index: trunk/docs/Changelog
===================================================================
--- trunk/docs/Changelog	(revision 436)
+++ trunk/docs/Changelog	(revision 437)
@@ -1,3 +1,4 @@
 3.0.13:
+	* Fix detection of nonfunctional /dev/kmem
 	* Fix race condition in GrowingLogfiles policy that
 	  causes spurious reports (problem noticed by J. Daubert)
