[lkml]   [1996]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux kernel file name

> > 1. There is an exported list of symbols, that are needed to allow linking
> > in the modules: /proc/ksyms.
> > This is not the complete symbol table.
> This makes that feature rather useless IMHO.

Agreed, but then it was not supposed to be a file equivalent
that is HARDCODED (ie. excess baggage) in the kernel.

> Wouldn't it be good if there were a way to check if the
> really matches the active kernel. What if we add the "kernel version
> stamp" as text to the and then use the address from the
> System.mao where that value should be. If finally the value in the
> kernel is the one from, the kernel finally must be
> compatible. (I don't know what syslogd does to obtain its result
> " matches kernel", but it is not always correct).

The kernel version stamp is already in
It has a silly name...something like "Version" :-)
It uses one byte to version part. Example: v2.1.14 = 0x0002010e

klogd doesn't check anything besides the version stamp.
If it would/could check a time stamp too, it would be much
more reliable.

What would be useful in addition, though it might already exist
(I've not looked) is a time stamp in the file.

Andrew E. Mileski
Linux Plug-and-Play Kernel Project
XFree86 Matrox Team

 \ /
  Last update: 2005-03-22 13:38    [W:0.061 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site