Re: Panic writing kernel memory?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Jan 24, 2008, at 3:20 AM, Brian Doyle wrote: What processing are you trying to do? = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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. 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Smith