← Back to team overview

kernel-packages team mailing list archive

[Bug 1499089] Re: Please enable kconfig X86_LEGACY_VM86 for i386

 

Tested on Trusty via the Wily LTS enablement package.

# dpkg -l linux-image-generic-lts-wily
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                             Version               Architecture          Description
+++-================================-=====================-=====================-=====================================================================
ii  linux-image-generic-lts-wily     4.2.0.19.14           i386                  Generic Linux kernel image

dpkg -l dosemu
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                             Version               Architecture          Description
+++-================================-=====================-=====================-=====================================================================
ii  dosemu                           1.4.0.7+20130105+b028 i386                  DOS Emulator for Linux


This allowed the dosemu 1.4.0 package to start up MS-DOS 6.22

Microsoft(R) MS-DOS(R) Version 6.22
             (C)Copyright Microsoft Corp 1981-1994.
 
C:\>
C:\>
C:\>dir
 
 Volume in drive C is mu/drives/c
 Directory of C:\
 
MSDOS    SYS        38,138 05-14-14   7:40p
COMMAND  COM        54,645 05-14-14   7:40p
DOSEMU       <DIR>         11-12-15   3:51p
IO       SYS        40,774 05-14-14   7:40p
        4 file(s)        133,557 bytes
                   2,147,450,880 bytes free
 
Have you applied the fix
http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?id=2459ee8651dc5ab72790c2ffa99af288c7641b64

I'm sure it's needed too?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1499089

Title:
  Please enable kconfig X86_LEGACY_VM86 for i386

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Wily:
  Fix Released

Bug description:
  In order for dosemu to reach maximum performance (a > 10x speedup) please enable kconfig X86_LEGACY_VM86 in the kernel. As of this commit http://www.spinics.net/lists/linux-tip-commits/msg30360.html
  the overzealous kconfig message that seemed to suggest that the vm86() syscall was a security hazard in itself has been revised to reflect reality. Also please note that even if this kconfig option is enabled the runtime default is still off as vm86 is only actually enabled if the sysctl vm.mmap_min_addr is set to 0. That said, allowing  vm.mmap_min_addr=0  is a known security risk and enabling the vm86() syscall to operate additionally would add little value to any potential attacker.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1499089/+subscriptions


References