hotfix for "mremap 2nd"

From: nolife
Date: Sat Feb 21 2004 - 16:32:59 EST


Hi there,
i created that a few days ago and thought someone might find an interest in
it.
It's a hotfix against the recent mremap bug (missing returnvalue check of
do_munmap()) and can be compiled/loaded as kernelmodule.
It doesn't permit to create more than 60000 VMAs (the default max is 65535).

Can be downloaded here: http://s-sl.cc/mmap.c

best regards,
nolife

-
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/