Re: Register a task's exception port from a kext
Re: Register a task's exception port from a kext
- Subject: Re: Register a task's exception port from a kext
- From: "nicolas vide" <email@hidden>
- Date: Fri, 3 Oct 2008 21:55:32 +1000
Hi Quinn,
thank you very much for your answer.
On Fri, Oct 3, 2008 at 6:44 PM, Quinn <email@hidden> wrote:
> If you already have this running as a daemon, what's the incentive for
> moving it into the kernel? In general we recommend that folks keep as much
> code out of the kernel as possible, especially for things like exceptions,
> which are usually not performance critical.
I understand this very well but in my case it is definitely not a
production software. By moving it into the kernel I just want to
compare performance and security aspects between user and kernel.
In a nutshell, I patch a classical mach-O in order to encrypt some
code sections. I also patch the header and change the security flag of
those sections to VM_PROT_NONE. That means when an encrypted page is
accessed it automatically generates an exception so I can decrypt the
page and fix the exception.
So you think it is mission impossible to do this into the kernel ?
Nicolas
_______________________________________________
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