Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Mar 26, 2008, at 07:29, Joerg Sonnenberger wrote:
On Tue, Mar 25, 2008 at 02:36:39PM +0000, David Brownlee wrote:
On Tue, 25 Mar 2008, Joerg Sonnenberger wrote:

On Mon, Mar 24, 2008 at 02:27:13PM +1300, Dave Sainty wrote:
No-one is going to be surprised to switch to a text console with DDB if they hit C-M-ESC, just grateful :) And it's a keystroke that people already
know.

The problem is that it doesn't *switch* to a text console. It kicks the VGA device into shape and if you want to continue, the system is very
likely to end up in DDB soon enough again.

        Could it revoke all access to the relevant video device, so next
        time X tries to read/write the hardware it aborts?

Only by altering the IOPL of the X server and by forcefully closing all
instances of /dev/mem it holds open. I am not sure that is a clean
approach...

... and even that would work only on x86, on other archs we mmap everything, including PCI IO, through /dev/ttyE0. No idea how difficult it would be to make all mappings read-only and thereby crashing the Xserver.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBR+pMrMpnzkX8Yg2nAQJEiwgAoG6yfTHF4ZmcM5M6/236MagqsdTDX9Ma
IQLqW1cb78WEXWCJvoHn+0toI0+i/Qvippc72Vy8Z0DvjbrPu1AhMjMnE7f/N9aT
EouPrOyaacqr1xMwHWxZqt8UoDZBpV3gJaBSk0OjaI8w824uV7AUZm195Pvu47o/
U+O/49XnrO6AGTASiHWRp8jz9BT2TQVcVNHREXbRjCe868lkylADU7f2sBRyomXG
of8NVp9Yd2htAdjH9r56PwSltSQ64HRUOQ84ILeM6m1VgGVAOguOIjPBNKDvpE9Q
gWJXOSiXYQvv+Vd0GP09lhMVC4uKGfMVr69mp6WH28RouZYIbCxFjQ==
=bLp4
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index