Re: Best way to get a pointer to kernel space from user space

Chris Wedgwood (chris@cybernet.co.nz)
Wed, 22 Jul 1998 06:04:46 +1200


On Tue, Jul 21, 1998 at 11:15:09AM -0600, Chris Hirsch wrote:

> Hey all...what would be the best (or only) way to get a pointer to data
> that is in kernel space from a program in user space? I don't want to copy
> data back and forth because this is for real time processing. Can anybody
> give me some code or info on where to find how to do this? Can mmap or
> put_user do this?

mmap /dev/kmem or /proc/kcore ?

-cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html