From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,af0c6ea85f3ed92d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.241.37 with SMTP id wf5mr1973324pbc.4.1329343840838; Wed, 15 Feb 2012 14:10:40 -0800 (PST) Path: wr5ni29443pbc.0!nntp.google.com!news1.google.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Arbitrary Sandbox Date: Wed, 15 Feb 2012 23:10:39 +0100 Organization: Ada @ Home Message-ID: References: <2aaee0a4-e820-4a75-bbaf-d9d09c366d2c@f5g2000yqm.googlegroups.com> <4da4bf75-e6c9-4c17-9072-ab6f533ed93f@vd8g2000pbc.googlegroups.com> <203d63cf-42a9-49ef-82cd-943d77b5e438@c21g2000yqi.googlegroups.com> NNTP-Posting-Host: CCLCak132Zj8lSQ0l+ynew.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.61 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2012-02-15T23:10:39+01:00 List-Id: Le Wed, 15 Feb 2012 22:07:37 +0100, Randy Brukardt = a =C3=A9crit: > Now, I recognize that DEP was added to Intel hardware to provide some = of > this protection, but the problem is that a lot of programs can't use i= t > because of the basic architectual mistake (including GNAT programs unt= il > recently, which is why I had to leave it off on my computer - boo). Pl= us > requiring a new feature to get this protection is annoying as it was = > always available in Intel hardware (back to 80286); people just had to= = > use it and they didn't. (I think that was a consequence of Windows NT = = > copying the bad Unix memory model more than an intentional decision I use to wonder if there a so much clever reason so that I could not = understand it. But you are competent enough, and feel the same too about= = the flat memory model. So you confirm something was sadly wasted here (a= nd = yes, since the very old 80286). Well, beyond segment protection, there is page protection (since 80486 (= *) = ). May be this one was precisely added by Intel to afford something to t= he = flat memory model to which segment by segment attributes was not = accessible. Otherwise, I don't see why, as this is probably cleaner to = apply the same attributes to a whole segment. (*) And something else again added again later, with a Pentium generatio= n, = but I can't recall the details. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity