Messages in this thread | | | From | Ingo Oeser <> | Subject | Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/kmem and /dev/mem) | Date | Sat, 13 Aug 2005 11:56:23 +0200 |
| |
Hi Andi,
On Friday 12 August 2005 18:54, Andi Kleen wrote: > Acessing vmalloc in /dev/mem would be pretty awkward. Yes it doesn't > also work in mmap of /dev/kmem, but at least in read/write. > There are quite a lot of scripts that use it for kernel debugging > like dumping variables. And for that you really want to access modules > and vmalloc. And it's much easier to parse than /proc/kcore
Perfect! So it should be under CONFIG_DEBUG_KERNEL and default to off.
So you can still debug and we raise the bar higher for rootkits, if they are the only other user.
Too simple?
Regards
Ingo Oeser
[unhandled content-type:application/pgp-signature] | |