The Wayback Machine - https://web.archive.org/web/20130527181853/http://groups.google.com/group/comp.sys.amiga.advocacy/msg/7d0bf445a2c22d67

Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Adding Memory Protection (MP) to the Amiga
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Mike Farren  
View profile  
 More options Jan 26 1994, 6:24 pm
Newsgroups: comp.sys.amiga.advocacy
From: far...@netcom.com (Mike Farren)
Date: Wed, 26 Jan 1994 08:47:13 GMT
Local: Wed, Jan 26 1994 3:47 am
Subject: Re: Adding Memory Protection (MP) to the Amiga

Bohuslav Rychlik <br...@andrew.cmu.edu> writes:
>So who here is convinced that adding memory protection to the OS now
>(without using the afore-mentioned method) would break
>backwards-compatibility to 2.04 programs?  I don't know; it just still
>seems to me that it ought to be possible.

Nope, and here's the simple reason why: currently, an application
communicates with the system via the use of system calls and the Exec
Message interface.  An Exec Message consists of a header, and a data
section (simplified explanation, here).  That data section can be
anything the application (or the system library) desires.  In fact,
many of the current Messages pass pointers to memory as part of the
expected data section - and those pointers can point to memory the
*calling* task owns, and which the system can subsequently modify.
Or, for that matter, any other task - and *that's* the problem.

There has been no commonly-accepted way of specifying that a given
block of memory is private to the task.  MEMF_PUBLIC *might* have
been a way to do that, but because the definition of MEMF_PUBLIC has
always been ambiguous, many apps are *not* using it to indicate
"publicly accessible" memory.  And because there is no consistency
there, the possiblity (indeed, the certainty) that otherwise normal
Amiga operations will cross task-owned memory boundries utterly
prevents any reasonable memory protection scheme for applications
up to the present point.

Not only that, but with the current design, it's entirely possible
for a user application to modify *system* memory - and some hacks
depend on that ability, and protecting system memory is, perhaps,
the most important thing MP will give you.

--
Michael J. Farren                       far...@netcom.com

"Remember that good diction reflects so well on you, so practice all
 your vowel sounds by saying "AAAEEEEIIIIOOOOUUUUU!" - Animaniacs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.