<[EMAIL PROTECTED]> wrote:
> As you may know, to have fast, fullscreen console graphics, DOSEmu must be
> run as root or SUID root.
> (please note that a small bug in 1.0.2 prevents you from running as root but
AFAIK, it prevents from running SUID, but running _as_ root works.

> Hans Lerman posted a small fix a while ago, anyway...).
He already made an official fix available on ftp in 'fixes' directory so the
problem has now gone.

> My question is: How come Win2K doesn't require you to run NTVDM as
> Administrator or anything like that but *still* has fast, fullscreen
> graphics?
Note that newer svgalib also does not require root, but it means nothing since
it uses special kernel module. So there can be different approaches. I don't
know much about windows, but it seems that the situation is the same as with
svgalib: WinNT/2K does not allow dos progs to access any hardware (and 
you can't change this by modifying privileges) but the video card. It is
allowed to be accessed directly via ports: all my programs that sets
non-standard video modes works. But if I set some VESA modes and then
press Alt-Enter, my NT locks:)
I think it is possible to make dosemu to use svgalib's kernel module so it
wold not require root for video either. But I am not shure if this approach
would really minimize a risk of the direct hardware access.
So, the only way to get *fast* fullscreen graphics is to allow the program
to access video hardware directly. (suid-)root is just an easy way to do this.
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to