Re: MSR support for x86

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 10 Mar 1997 19:32:56 +0000 (GMT)


> I forget the exact details, but I think it was one of the early DEC
> pdp's and the RSTS os that is the prime example of this. The cpu
> would allow users to read page fault counts, so what some clever folks
> did was write a program that forced almost all the pages out. It

DEC 10. Tenex. Its actually documented in Tanenbaums Minix book

> would then call an os function that would verify a password. The OS
> would just compare byte by byte and fail on the first miss match.
> What the clever programmer did was make sure the password would cross

You could already do this if you wanted to using mprotect and signal in
theory. This all misses the point. The whole reason for /dev files with
permissions is so people can set them