Subject: CVS commit: src/sys/compat/linux/common
To: None <source-changes@NetBSD.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 08/08/2004 09:40:50
Module Name:	src
Committed By:	jdolecek
Date:		Sun Aug  8 09:40:50 UTC 2004

Modified Files:
	src/sys/compat/linux/common: linux_emuldata.h linux_exec.c linux_misc.c

Log Message:
linux processes sharing VM space (via clone() call) must also
share same 'break' value used for brk()/sbrk(), otherwise application SIGSEGVs
quickly once different threads try to adjust data segment size

this fixes linux Mozilla crashes with SuSE 9.1 libraries, and possibly
other linux applications using real threads


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sys/compat/linux/common/linux_emuldata.h
cvs rdiff -r1.70 -r1.71 src/sys/compat/linux/common/linux_exec.c
cvs rdiff -r1.126 -r1.127 src/sys/compat/linux/common/linux_misc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.