Remove historical changelogs from files
We don't need to carry it any longer. Anyone who wants to read them can access an older GIT version, or released tarball. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
100
src/ksym.c
100
src/ksym.c
@ -27,108 +27,8 @@
|
||||
/*
|
||||
* This file contains functions which handle the translation of kernel
|
||||
* numeric addresses into symbols for the klogd utility.
|
||||
*
|
||||
* Sat Oct 28 09:00:14 CDT 1995: Dr. Wettstein
|
||||
* Initial Version.
|
||||
*
|
||||
* Fri Nov 24 12:50:52 CST 1995: Dr. Wettstein
|
||||
* Added VERBOSE_DEBUGGING define to make debugging output more
|
||||
* manageable.
|
||||
*
|
||||
* Added support for verification of the loaded kernel symbols. If
|
||||
* no version information can be be found in the mapfile a warning
|
||||
* message is issued but translation will still take place. This
|
||||
* will be the default case if kernel versions < 1.3.43 are used.
|
||||
*
|
||||
* If the symbols in the mapfile are of the same version as the kernel
|
||||
* that is running an informative message is issued. If the symbols
|
||||
* in the mapfile do not match the current kernel version a warning
|
||||
* message is issued and translation is disabled.
|
||||
*
|
||||
* Wed Dec 6 16:14:11 CST 1995: Dr. Wettstein
|
||||
* Added /boot/System.map to the list of symbol maps to search for.
|
||||
* Also made this map the first item in the search list. I am open
|
||||
* to CONSTRUCTIVE suggestions for any additions or corrections to
|
||||
* the list of symbol maps to search for. Be forewarned that the
|
||||
* list in use is the consensus agreement between myself, Linus and
|
||||
* some package distributers. It is a given that no list will suit
|
||||
* everyone's taste. If you have rabid concerns about the list
|
||||
* please feel free to edit the system_maps array and compile your
|
||||
* own binaries.
|
||||
*
|
||||
* Added support for searching of the list of symbol maps. This
|
||||
* allows support for access to multiple symbol maps. The theory
|
||||
* behind this is that a production kernel may have a system map in
|
||||
* /boot/System.map. If a test kernel is booted this system map
|
||||
* would be skipped in favor of one found in /usr/src/linux.
|
||||
*
|
||||
* Thu Jan 18 11:18:31 CST 1996: Dr. Wettstein
|
||||
* Added patch from beta-testers to allow for reading of both
|
||||
* ELF and a.out map files.
|
||||
*
|
||||
* Wed Aug 21 09:15:49 CDT 1996: Dr. Wettstein
|
||||
* Reloading of kernel module symbols is now turned on by the
|
||||
* SetParanoiaLevel function. The default behavior is to NOT reload
|
||||
* the kernel module symbols when a protection fault is detected.
|
||||
*
|
||||
* Added support for freeing of the current kernel module symbols.
|
||||
* This was necessary to support reloading of the kernel module symbols.
|
||||
*
|
||||
* When a matching static symbol table is loaded the kernel version
|
||||
* number is printed.
|
||||
*
|
||||
* Mon Jun 9 17:12:42 CST 1997: Martin Schulze
|
||||
* Added #1 and #2 to some error messages in order to being able
|
||||
* to divide them (ulmo@Q.Net)
|
||||
*
|
||||
* Fri Jun 13 10:50:23 CST 1997: Martin Schulze
|
||||
* Changed definition of LookupSymbol to non-static because it is
|
||||
* used in klogd.c, too.
|
||||
*
|
||||
* Fri Jan 9 23:00:08 CET 1998: Martin Schulze <joey@infodrom.north.de>
|
||||
* Fixed bug that caused klogd to die if there is no System.map available.
|
||||
*
|
||||
* Sun 29 Mar 18:14:07 BST 1998: Mark Simon Phillips <M.S.Phillips@nortel.co.uk>
|
||||
* Switched to fgets() as gets() is not buffer overrun secure.
|
||||
*
|
||||
* Mon Apr 13 18:18:45 CEST 1998: Martin Schulze <joey@infodrom.north.de>
|
||||
* Modified loop for detecting the correct system map. Now it won't
|
||||
* stop if a file has been found but doesn't contain the correct map.
|
||||
* Special thanks go go Mark Simon Phillips for the hint.
|
||||
*
|
||||
* Mon Oct 12 00:42:30 CEST 1998: Martin Schulze <joey@infodrom.north.de>
|
||||
* Modified CheckVersion()
|
||||
* . Use shift to decode the kernel version
|
||||
* . Compare integers of kernel version
|
||||
* . extract major.minor.patch from utsname.release via sscanf()
|
||||
* The reason lays in possible use of kernel flavours which
|
||||
* modify utsname.release but no the Version_ symbol.
|
||||
*
|
||||
* Sun Feb 21 22:27:49 EST 1999: Keith Owens <kaos@ocs.com.au>
|
||||
* Fixed bug that caused klogd to die if there is no sym_array available.
|
||||
*
|
||||
* Tue Sep 12 23:48:12 CEST 2000: Martin Schulze <joey@infodrom.ffis.de>
|
||||
* Close symbol file in InitKsyms() when an error occurred.
|
||||
*
|
||||
* Thu Apr 29 18:07:16 CEST 2004: Dmitry Levin <ldv@altlinux.org>
|
||||
* Close file descriptor in FindSymbolFile() in order not to leak
|
||||
* file descriptors.
|
||||
*
|
||||
* Fri Jul 16 08:32:49 CEST 2004: Ulf H<>rnhammar <Ulf.Harnhammar.9485@student.uu.se>
|
||||
* Added boundary check for fscanf() in InitKsyms() and
|
||||
* CheckMapVersion() to prevent an unintended crash when reading
|
||||
* an incorrect System.map.
|
||||
*
|
||||
* Mon May 28 08:27:51 CEST 2007: Martin Schulze <joey@infodrom.org>
|
||||
* Added back /usr/src/linux/System.map as fall-back location.
|
||||
*
|
||||
* Thu May 31 16:56:26 CEST 2007: Martin Schulze <joey@infodrom.org>
|
||||
* Improved symbol lookup, since symbols are spread over the entire
|
||||
* address space. Return the symbol that fits best instead of
|
||||
* the first hit.
|
||||
*/
|
||||
|
||||
/* Includes. */
|
||||
#include "klogd.h"
|
||||
#include "ksyms.h"
|
||||
#include "module.h"
|
||||
|
Reference in New Issue
Block a user