Module Name: src
Committed By: snj
Date: Mon Apr 20 22:24:37 UTC 2009
Modified Files:
src/sbin/modload [netbsd-5]: modload.c
Log Message:
Apply patch (requested by ad in ticket #708):
Disable ksyms support, falling back to using sysctl to obtain the name
of the booted kernel.
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.51.28.1 src/sbin/modload/modload.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/modload/modload.c
diff -u src/sbin/modload/modload.c:1.51 src/sbin/modload/modload.c:1.51.28.1
--- src/sbin/modload/modload.c:1.51 Mon Jun 27 01:00:05 2005
+++ src/sbin/modload/modload.c Mon Apr 20 22:24:37 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: modload.c,v 1.51 2005/06/27 01:00:05 christos Exp $ */
+/* $NetBSD: modload.c,v 1.51.28.1 2009/04/20 22:24:37 snj Exp $ */
/*
* Copyright (c) 1993 Terrence R. Lambert.
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: modload.c,v 1.51 2005/06/27 01:00:05 christos Exp $");
+__RCSID("$NetBSD: modload.c,v 1.51.28.1 2009/04/20 22:24:37 snj Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -356,6 +356,7 @@
modobj);
}
+#if 0
/*
* Check if /dev/ksyms can be used.
*/
@@ -368,6 +369,7 @@
kname = _PATH_KSYMS;
}
}
+#endif
/*
* Determine name of kernel to use