bugfix for do_brk() patch in 2.3.6

Chuck Lever (cel@monkey.org)
Wed, 16 Jun 1999 20:24:40 -0400 (EDT)


please apply this, it's against 2.3.6.

it fixes a problem that prevents RH6.0 systems from booting. the error
messages usually complain about "init" not being able to load a library.

thanks!

diff -ruN linux-2.3.6-ref/mm/mmap.c linux/mm/mmap.c
--- linux-2.3.6-ref/mm/mmap.c Wed Jun 16 20:15:16 1999
+++ linux/mm/mmap.c Wed Jun 16 20:19:33 1999
@@ -728,6 +728,8 @@
struct vm_area_struct * vma;
unsigned long flags, retval;

+ len = PAGE_ALIGN(len);
+
/*
* mlock MCL_FUTURE?
*/

- Chuck Lever

--
corporate:	<chuckl@netscape.com>
personal:	<chucklever@netscape.net> or <cel@monkey.org>

The Linux Scalability project: http://www.citi.umich.edu/projects/linux-scalability/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/