[TUHS] Harvard and Von Neumann Architectures and Unix
lm at mcvoy.com
Tue Nov 28 02:50:46 AEST 2017
On Mon, Nov 27, 2017 at 11:11:41AM -0500, Noel Chiappa wrote:
> > From: Doug McIlroy
> > But if that had been in D space, it couldn't have been executed.
> Along those lines, I was wondering about modern OS's, which I gather for
> security reasons prevent execution of data, and prevent writing to code.
> Programs which emit these little 'custom code fragments' (I prefer that term,
> since they aren't really 'self-modifying code' - which I define as 'a program
> which _changes_ _existing_ instructions) must have some way of having a chunk
> of memory into which they can write, but which can also be executed.
Isn't that how dtrace works?
More information about the TUHS