Re: Panic writing kernel memory?
Re: Panic writing kernel memory?
- Subject: Re: Panic writing kernel memory?
- From: Michael Smith <email@hidden>
- Date: Thu, 24 Jan 2008 15:51:05 -0800
On Jan 24, 2008, at 3:20 AM, Brian Doyle wrote:
As you've correctly surmised, I'm trying to patch the vtable of a
class that isn't mine and that I can't inherit from (IODTNVRAM/
AppleEFINVRAM). My intent is to be notified when setProperty() is
called on IODeviceTree:/options so that I can do some processing
when the boot device changes.
What processing are you trying to do?
Why do you have to do it every time the boot device changes? Why
can't you postpone it until system shutdown time when there is no
longer an opportunity for it to change again? (This is the only time
the physical NVRAM is actually written anyway.)
Since you have no way to reliably affect the boot device selection,
and no guarantee whatsoever that the system will boot from the device
set to be the boot device in NVRAM, you can't be doing this from a
"security" perspective.
= 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