Re: ptrace single-stepping change breaks Wine

From: Alexandre Julliard
Date: Wed Jan 05 2005 - 06:45:11 EST


Mike Hearn <mh@xxxxxxxxxxxxxxx> writes:

> - Another possibility would be to create a new mmap API that lets
> us ask for exactly what we want, instead of second-guessing the
> kernel. I don't know exactly what sort of an API Alexandre has in
> mind here, perhaps he could describe it.

Probably the easiest would be to have a way for an app to specify the
mmap range it wants. So instead of having the kernel try to guess from
brk and stack ulimit, both of which are meaningless for Win32 apps, we
could set the range from "end of win32 exe" to 0x7ff0000. This would
also avoid the need to preallocate everything above 0x80000000 that we
currently do and that plays havoc with address space limits.

--
Alexandre Julliard
julliard@xxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/