Re: cache clearing from keeping code and data in the same segment
Re: cache clearing from keeping code and data in the same segment
- Subject: Re: cache clearing from keeping code and data in the same segment
- From: Eli Bach <email@hidden>
- Date: Mon, 19 Jan 2009 03:11:58 -0800
On Jan 19, 2009, at 2:36 AM, Joel Reymont wrote:
Keeping code and data in the same segment apparently results in the
clearing of the instruction cache on every data access.
Would someone kindly explain why or point me to an explanation?
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.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden