[Bug 14360] New: dosmem forgot MAP_FIXED

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 8 11:48:35 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=14360

           Summary: dosmem forgot MAP_FIXED
           Product: Wine
           Version: 1.0.0
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: kernel32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: jreiser at BitWagon.com


Created an attachment (id=14657)
 --> (http://bugs.winehq.org/attachment.cgi?id=14657)
dosmem use MAP_FIXED; new WINE_NO_DOSMEM_64KB environment variable

Dosmem forgot MAP_FIXED when calling wine_anon_mmap() to allocate memory at
assumed fixed addresses for the low 1 MiB and 64 KiB.  It is a bug to assume
that the result address equals the requested address, unless MAP_FIXED.  Also,
add a new environment variable WINE_NO_DOSMEM_64KB to inhibit the low 64 KiB,
even if the opreating system would allow it.  By default, Linux 2.6.24
prohibits mmap in the range [0, 0x10000).  Patch is attached and will be sent
to wine-patches at winehq.org.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list