site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=sb9xqn2diDLGy/tVjQqyA9jfvdLN8yUAVDXxGWkqVNg=; b=W32Dc7ufwYP7F8UJvCeHdCqkzozBq8wqTOsQzhdcv0qO4mxIhffnAazeudHEf8zN9+ 1vA86EDH4I+kIgXGMu6c9GzU+PTtgWuoW8jqGaCCO0LvNcL3tC40N9qV3n8/DYP3X0jh YJ8xC6eyyrBVTHWqreZiGknCdwaG7X0qSFGDk= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=SL3cL44y3uGGQpVt0faXgCDEhFXtC1sOm16h2f7LfDrj/jB9ms/w2MSDzYnwfMtdNd K6Wb8t5VxtwfWjTgdww9flotCU4qIgbY/sXgRSV/6s5fiEc2rk33Q1/mDbaPrjfengl6 A5BbGUW9myDL5cItIUp27arC7Voo1HO7+2pUs= Hi Quinn, thank you very much for your answer. On Fri, Oct 3, 2008 at 6:44 PM, Quinn <eskimo1@apple.com> 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com