Re: How does /dev/mem work?
Re: How does /dev/mem work?
- Subject: Re: How does /dev/mem work?
- From: Michael Smith <email@hidden>
- Date: Sun, 8 Mar 2009 23:25:20 -0700
On Mar 8, 2009, at 4:30 PM, Hajime Inoue wrote:
Also, what is the alternative to /dev/mem on newer kernels? The
pmap_*
interface would seem to be the proper thing to use, but am I right in
that it is not exported to KEXTs?
Jim,
/dev/mem was never an interface to kexts; it was always an interface
to user space.
The functionality that /dev/mem offered is not consistent with modern
system security models; rummaging around in arbitrary system memory is
simply not something that is generally considered a good idea.
Perhaps you could explain what you're trying to do, and we might be
able to suggest some alternatives.
= Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden