From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,6624e312e8bf2917 X-Google-NewGroupId: yes X-Google-Thread: 1164f8,6624e312e8bf2917 X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Sun, 03 Jul 2011 14:19:05 -0400 From: "Jerome H. Fine" Organization: Just Sufficient User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: alt.sys.pdp11,comp.sys.dec Subject: Re: KDA-50 on eBay References: <9675loFh94U1@mid.individual.net> <06d0f22ffd7b1cae839b97d580e1eea1@msgid.frell.theremailer.net> <96tuppF89sU1@mid.individual.net> <4e0a837f$0$311$14726298@news.sunsite.dk> <4e0d1561$0$304$14726298@news.sunsite.dk> <4e0e55a7$0$303$14726298@news.sunsite.dk> <4e1056a9$0$313$14726298@news.sunsite.dk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4e10b240$0$314$14726298@news.sunsite.dk> NNTP-Posting-Host: 206.248.171.217 X-Trace: news.sunsite.dk DXC=[[3oIOIP031OVgHIS4l:13YSB=nbEKnk;Z3`;34BY:Z;PPfk^U[HX;?N1>V8bAJTI>3eOPKWXlde4Qa4_jgFW[9?DLjFRm^e1O?gSG3K2eCDP8 X-Complaints-To: staff@sunsite.dk Xref: g2news1.google.com alt.sys.pdp11:2319 comp.sys.dec:3604 >Johnny Billquist wrote: > >On 2011-07-03 13:47, Jerome H. Fine wrote: > >> I presume that RSX-11 has the same operational aspects and >> that almost all user programs run with the PSW set to 17xxxx. >> Can you pleases confirm this assumption? Under RSX-11, >> are there any situations or circumstances when a user program >> might be allowed to and would wish to run with the PSW set >> to 14xxxx? Would that be allowed just for a limited number >> of instructions or might it be done for a number of minutes? >> Obviously, the MTPI instruction would give the user total >> control over the hardware via direct access to all memory >> and IOPAGE registers. > > Your presumption is correct. Never, under no circumstances ever, are a > user program running with the PSW set to anything but 17xxxx. The same > is true in RSTS/E. I cann tell that without even looking. > You can never allow it to be anything else in any multiuser, > timesharing system, and ever hope to live. > So, the same is also true for Unix on a PDP-11, in case you wonder. > > Sure there could be reasons a program would *want* to do that, but > they are all bad, and threaten the integrity of the operating system. I know that under TSX-Plus, programs with MEMMAP level of security have access to the IOPAGE registers, so even though it is equally certain that the PSW is set at 17xxxx, as long as PAR7 is able to access the IOPAGE registers directly, that program has complete control of all of the hardware. However, based on your answer, it seems likely that RSX-11 never allows direct access to the IOPAGE registers. Is my assumption correct? As for running with the PSW set to 14xxxx, I am fairly confident that the only instructions which can alter KERNAL memory are MTPI and MTPD. If a user program does not use either of these two instructions, then the operating system should be equally secure with the PSW set to either 17xxxx or 14xxxx. Just to be sure, can you please confirm my assumption? The reason that I am suggesting that there might be a valid reason for the PSW to be 14xxxx is specifically under E11 when the user is provided access to the actual PC memory via the EMEM.DLL program. I have used it under RT-11 to support using up to 1.2 GB of the PC's memory rather than using emulated PDP-11 memory via the VIRTUAL statement in FORTRAN. In that regard, does RSX-11 FORTRAN support the VIRTUAL statement and is the implementation via an EMT request or the modification of the PAR registers as is done under RT-11? Jerome Fine