Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: pooka
Date: Mon Feb 21 20:23:29 UTC 2011
Modified Files:
src/sys/kern: kern_exec.c kern_exit.c kern_lwp.c
src/sys/sys: lwp.h
Log Message:
Borrow the lwpctl data area from the parent for the vfork() child.
Otherwise the child will incorrectly see it is not running on any
CPU. Among other things, this fixes crashes from having
LD_PRELOAD=libpthread.so set in the env.
reviewed by tech-kern
To generate a diff of this commit:
cvs rdiff -u -r1.307 -r1.308 src/sys/kern/kern_exec.c
cvs rdiff -u -r1.231 -r1.232 src/sys/kern/kern_exit.c
cvs rdiff -u -r1.155 -r1.156 src/sys/kern/kern_lwp.c
cvs rdiff -u -r1.148 -r1.149 src/sys/sys/lwp.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index