Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: source-changes
Date: 12/20/2003 18:22:19
Module Name:	src
Committed By:	manu
Date:		Sat Dec 20 18:22:19 UTC 2003

Modified Files:
	src/sys/compat/aout: aout_exec.c
	src/sys/compat/aoutm68k: aoutm68k_exec.c
	src/sys/compat/darwin: darwin_exec.c
	src/sys/compat/freebsd: freebsd_exec.c
	src/sys/compat/hpux: hpux_exec.c
	src/sys/compat/ibcs2: ibcs2_exec.c
	src/sys/compat/irix: irix_exec.c
	src/sys/compat/linux/common: linux_exec.c
	src/sys/compat/mach: mach_exec.c
	src/sys/compat/netbsd32: netbsd32_netbsd.c
	src/sys/compat/osf1: osf1_exec.c
	src/sys/compat/pecoff: pecoff_emul.c
	src/sys/compat/sunos: sunos_exec.c
	src/sys/compat/sunos32: sunos32_exec.c
	src/sys/compat/svr4: svr4_exec.c
	src/sys/compat/svr4_32: svr4_32_exec.c
	src/sys/compat/ultrix: ultrix_misc.c
	src/sys/kern: kern_exec.c kern_lwp.c
	src/sys/sys: lwp.h proc.h

Log Message:
Introduce lwp_emuldata and the associated hooks. No hook is provided for the
exec case, as the emulation already has the ability to intercept that
with the e_proc_exec hook. It is the responsability of the emulation to
take appropriaye action about lwp_emuldata in e_proc_exec.

Patch reviewed by Christos.


To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 src/sys/compat/aout/aout_exec.c
cvs rdiff -r1.15 -r1.16 src/sys/compat/aoutm68k/aoutm68k_exec.c
cvs rdiff -r1.29 -r1.30 src/sys/compat/darwin/darwin_exec.c
cvs rdiff -r1.23 -r1.24 src/sys/compat/freebsd/freebsd_exec.c
cvs rdiff -r1.40 -r1.41 src/sys/compat/hpux/hpux_exec.c
cvs rdiff -r1.56 -r1.57 src/sys/compat/ibcs2/ibcs2_exec.c
cvs rdiff -r1.35 -r1.36 src/sys/compat/irix/irix_exec.c
cvs rdiff -r1.68 -r1.69 src/sys/compat/linux/common/linux_exec.c
cvs rdiff -r1.45 -r1.46 src/sys/compat/mach/mach_exec.c
cvs rdiff -r1.78 -r1.79 src/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -r1.34 -r1.35 src/sys/compat/osf1/osf1_exec.c
cvs rdiff -r1.8 -r1.9 src/sys/compat/pecoff/pecoff_emul.c
cvs rdiff -r1.43 -r1.44 src/sys/compat/sunos/sunos_exec.c
cvs rdiff -r1.17 -r1.18 src/sys/compat/sunos32/sunos32_exec.c
cvs rdiff -r1.52 -r1.53 src/sys/compat/svr4/svr4_exec.c
cvs rdiff -r1.12 -r1.13 src/sys/compat/svr4_32/svr4_32_exec.c
cvs rdiff -r1.90 -r1.91 src/sys/compat/ultrix/ultrix_misc.c
cvs rdiff -r1.178 -r1.179 src/sys/kern/kern_exec.c
cvs rdiff -r1.15 -r1.16 src/sys/kern/kern_lwp.c
cvs rdiff -r1.14 -r1.15 src/sys/sys/lwp.h
cvs rdiff -r1.182 -r1.183 src/sys/sys/proc.h

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