Diff between 11/20 and 11/45?

Steven M. Schultz sms at moe.2bsd.com
Thu Sep 9 03:00:05 AEST 1999


Hi -

> From: Dave Horsfall <dave at fgh.geac.com.au>
> Do you recall the PC-board hack on the sep-ID machines that changed

	No, I do not recall seeing a PCB hack (hacking on an 11/70 was
	frowned upon ;))

> the MFPI instruction to do something that was expressly prohibited?

	But I do know what that 'something' was.   In "user" or "supervisor"
	mode MPFI functioned as "MFPD" - a user program could not read its own 
	I(nstruction) space.    Only for "kernel" mode did MFPI access the
	I space.

> Something about allowing a user program to access something else, for
> some obscure hack or other...

	It was aimed at providing "execute only" code - a program could "run"
	but not "read" its code space.

	This caused problems though if trap handlers (floating point exception
	handling comes to mind) needed to retrieve the faulted instruction
	for inspection/analysis.  Thus in 2BSD there is a system call that
	programs can issue to request the KERNEL to do the 'mfpi' for them
	and return the value.

	Steven Schultz
	sms at moe.2bsd.com

Received: (from major at localhost)
	by minnie.cs.adfa.edu.au (8.9.3/8.9.3) id TAA10091
	for pups-liszt; Thu, 9 Sep 1999 19:48:18 +1000 (EST)


More information about the TUHS mailing list