Re: cache clearing from keeping code and data in the same segment
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=vnO6u/RPpbg0fczgorJLlD8VpFwis9pQkXHPtZlvz+A=; b=KssZqjul2iVwTzaWxuvJpCIjDjQ798oEEaxGL35bk6wOux920hTqDvQJklsHGosMlP 0nHQ1pP470HVZgv80fB8i7ceZZM6//fdZbkpxiaed+nsVgLlfYiwHibBLTMNP0mmar2K c6vrEtFeqLWetVeX5vUDOiX4Dy3dMgknEW/oc= 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=WAJSH4SUN6N4qVaO6ZsOxCgNU/qpOUrn795cVyiaFwnI9ZxTtK8Jb08xpm5ZgXkRe2 At3OgaW7CY7kK4uO12i04nuaqtyB7/aURmuFNwy5vtQpj4oULlvlAhrjeyZqPQtmpJvb 83c0tiq8AFzA5MFL3N6nkOX3Cj6ZtqkkhZks0= On Jan 19, 2009, at 2:36 AM, Joel Reymont wrote: Would someone kindly explain why or point me to an explanation? _______________________________________________ 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... Keeping code and data in the same segment apparently results in the clearing of the instruction cache on every data access. Thanks, Joel Maybe so your app doesn't get hacked by means of writing to the data segment, and then getting that data executed somehow. This email sent to site_archiver@lists.apple.com
participants (1)
-
Eli Bach