• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How does /dev/mem work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >RE: How does /dev/mem work? (From: Hajime Inoue <email@hidden>)

  • Prev by Date: Re: How does /dev/mem work?
  • Next by Date: RE: How does /dev/mem work?
  • Previous by thread: Re: How does /dev/mem work?
  • Next by thread: RE: How does /dev/mem work?
  • Index(es):
    • Date
    • Thread