virtual memory problems with Linux 2.4.5

James Juran jamesjuran at alumni.psu.edu
Wed Jun 13 22:03:00 CDT 2001


Alexandre Julliard wrote:
> 
> Alexandre Julliard <julliard at winehq.com> writes:
> 
> > Another related problem is that even without this bug, mmap64 will
> > always refuse to do an unaligned mmap, even if the kernel might have
> > accepted it (with kernel 2.2.x for instance). Maybe the best solution
> > would be to directly call the mmap syscall instead of mmap2 when
> > mapping executables, this would fix both problems.
> 
> OK, here we go. Could you please test this, especially people running
> kernel 2.4?

This seems to work fine here (Red Hat 7):

james[38]%uname -a
Linux 24-28-218-19 2.4.5-pre3 #12 Fri May 18 23:56:59 EDT 2001 i586
unknown
james[40]%rpm -q glibc
glibc-2.2-12
james[41]%rpm -q gcc
gcc-2.96-85

--
James Juran
jamesjuran at alumni.psu.edu




More information about the wine-devel mailing list