site_archiver@lists.apple.com Delivered-To: darwin-dev@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:from:to :in-reply-to:content-type:content-transfer-encoding:subject :mime-version:date:references:x-mailer; bh=WR3RAF7KDhOQ9I9JVv4TW0B/fMC2513AXJlSk33eHzw=; b=he8upEfMGzMtIjhchGTVvZ/jT/2+OSIJSQdU8Ny9Lx9VOAx1chq01hDaFMLoDuuy4W 8gbqSkWM72E0JvRmQDxuSRmeZRy7UH2aTYZeUVipFdubca4RHS3/og5EegHCg0Ogy6uo EDRYebbX92kN+qxg5me0q4E1EmoWTevo2jknk= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:subject:mime-version:date:references :x-mailer; b=TrwuPio1zoi8h/zcPelYdToS7/bgsYIFdw5n+fesydZHGCVIisHaOTfLNN0n+d6kZf MftiUW9wvxrQvsV3ayBC6Dq0zNTpkaQ8Ruk3leRXQsvNEWYnHPYzui7FYuq1US5Pi+Vi QCcGASCzR9EyEh1x44tKJOM5oiJHlQeCi0HB0= On Jan 19, 2009, at 3:14 AM, Joel Reymont wrote: Eli, On Jan 19, 2009, at 11:11 AM, Eli Bach wrote: Where's this protection mechanism explained, though? Eli _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Maybe so your app doesn't get hacked by means of writing to the data segment, and then getting that data executed somehow. Thanks, Joel Are you looking for why your custom-written executable is running slow (just from looking at your previous posts to darwin-dev)? I would guess that information like this isn't explicitly listed/ documented somewhere, other than perhaps by reading the code in Apple's developer tools (gcc/linker/etc), maybe in changelogs when Apple pushes their changes upstream. This is the kind of thing that would explain why Apple's engineers steered you towards at least using their linker. Maybe it would be easier to port it to your build platform instead of trying to reverse- engineer it's functionality into your code. And it's not just what's in there today, it's what Apple updates tomorrow as well, as that will wind up biting you. But don't take my word for any of this, as I have no actual knowledge of the reasoning Apple used to decide to implement this 'feature'. This is just something I came up with that seems plausible. The only 'hacking' of applications that I have done involved patching traps on MacOS 9. This email sent to site_archiver@lists.apple.com