System.map search list patches


Mark H. Wood (mwood@IUPUI.Edu)
Tue, 5 Oct 1999 15:24:06 -0500 (EST)


While perusing a discussion on the Linux-kernel list I realized that the
code and documentation for klogd disagree on the search list used to find
System.map. I've attached two patches that bring these into alignment:
one to document that System.map-{version} is sought before System.map, and
another to implement the documented assertion that the file is sought in
/usr/src/linux . This gives the widest possible search for the file and
seems to me to be the author's intent. In the grand tradition of the
Linux kernel, the ksym.c patch is known to compile but has not been
tested. :-)

I note also that version.h hasn't been touched since version 1.3-3 but the
package is now up to 1.3-31 . In fact the 1.3-31 package that I just
built logs itself as 1.3-3 at startup. The necessary patch is so
insultingly trivial that I've omitted it.

-- 
Mark H. Wood, Lead System Programmer   mwood@IUPUI.Edu
Please, no more software products offering a "richer experience"!  I have
indigestion of the brain already.  Give me a more ascetic experience.

--- ../sysklogd-1.3-31-stock/klogd.8 Mon Jan 18 19:09:12 1999 +++ klogd.8 Tue Oct 5 15:01:40 1999 @@ -223,8 +223,11 @@ following filenames will be tried: .nf +.I /boot/System.map-`uname -r` .I /boot/System.map +.I /System.map-`uname -r` .I /System.map +.I /usr/src/linux/System.map-`uname -r` .I /usr/src/linux/System.map .fi

--- ../sysklogd-1.3-31-stock/ksym.c Mon Oct 12 11:39:49 1998 +++ ksym.c Tue Oct 5 15:05:13 1999 @@ -128,6 +128,7 @@ { "/boot/System.map", "/System.map", + "/usr/src/linux/System.map", #if defined(TEST) "./System.map", #endif N‹§²æìr¸›zǧvf¢–Ú j:+v‰¨"wèvº&6Ší„10ŠØmµìmº{.nÇ+‰·¬ÊÉ%¢bžØ^™ë,j›



This archive was generated by hypermail 2.0b3 on Tue Oct 05 1999 - 22:22:29 CEST