lkml.org 
[lkml]   [2003]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH] sysklogd: use up-to-date query_module() routine
Date
On Friday 03 October 2003 08:36 pm, Kelledin wrote:
> 2) migrate klogd to use query_module() rather than stepping
> through /dev/kmem. query_module() should provide everything
> that klogd normally pokes around /dev/kmem for. Does it rely
> indirectly on being able to step through kmem? I hope not...

Well, I settled on this option, and I've got something that seems
to work. The kmem walker hack is no longer needed, the llseek()
VFS limitations are now a pretty moot point, and an
obsolete/dangerous syscall got nudged further towards oblivion.

(Oh, and klogd no longer segv's on my EV56 box, which was really
the point of this exercise to begin with. ;)

I've attached the patch below in case anyone is interested; I
also sent it off to the sysklogd maintainers (finally found
them). Testing and constructive criticism is encouraged.

--
Kelledin
"If a server crashes in a server farm and no one pings it, does
it still cost four figures to fix?"
[unhandled content-type:application/x-bzip2]
\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.125 / U:1.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site