From: Ian D Romanick Message-Id: <199707201855.LAA14466@sapho.cs.pdx.edu> Subject: Re: [Q] Is it possible to write-protect the text section ? To: eldredge AT ap DOT net (Nate Eldredge) Date: Sun, 20 Jul 1997 11:55:33 -0700 (PDT) Cc: muller AT janus DOT u-strasbg DOT fr, djgpp AT delorie DOT com In-Reply-To: <199707201651.JAA09428@adit.ap.net> from "Nate Eldredge" at Jul 20, 97 09:51:04 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk > Does anyone know why the decision was made to have CS and DS refer to the > same region of memory, the program's entire address space? IMHO, CS should > be `text' only, and DS and SS should be `DGROUP' (or whatever it's called) > only. This would keep problems of this sort from occuring, since you can't > write to the CS segment. Well, for one thing, you wouldn't be able to have DXE's then. -- "Respect the badge: he earned it with his blood. http://www.cs.pdx.edu/~idr Fear the gun: your sentence may be death Because I am the law."