On Sat, 1 May 1999, David Hodges wrote:

> > dosemu 0.66, I managed to successfully install such programs as warcraft and 
> > the old, classic game doom and run them on my machine.  Now, however, it 
> > installs the program, but every time I try and run a setup or the program 
> > itself, it gives me this error message:
> > 
> > ERROR: general protection at 0x1696f: 66
> > ERROR: SIGSEGV, protected insn...exiting!
> 
> I think I better put this in the frequently asked questions list.
> You need to change the line
> $_dpmi = (off) 
> to 
> $_dpmi = (4096)
> (or more) to run programs such as Doom that use DPMI
> 
> (I believe it's off by default because DPMI programs can theoretically do 
> naughty things (but probably not accidentally so it's only a problem if you 
> don't  trust the program you're running))

Yes, but this is only true if DOSEMU runs suid-root.
If DOSEMU runs non-suid (low feature) its save to allow DPMI.
               ===

DOSEMU now can run most of DOS-applications under X, even when not running
suid-root, so 'low feature' mostly applies on not being able to access
hardware ports / RAM directly and to get real IRQs passed.

Hans
<[EMAIL PROTECTED]>


Reply via email to