Re: mmap() of /dev/kmem issue

Grant Grundler
2004-05-04T23:59:02Z

On Tue, May 04, 2004 at 05:27:41PM -0500, Mario Smarduch wrote:
> I would think allot of people would like to mmap() /dev/kmem
> to take a quick look at kernel values, atleast that's what I've
> seen on other Unix variants.

yes - and that's a religious issue. I know people would
like like to see /dev/kmem completely removed.

Many wise kernel engineers have advised me to add /proc
or similar "architected" interfaces. That way a program
will merely get an error instead of crashing the box
when the kernel changes it's data structures or how said
structures get used.

grant