[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	art_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2002/07/20 13:24:57

Modified files:
	sys/arch/alpha/alpha: machdep.c netbsd_machdep.c 
	sys/arch/hp300/hp300: hpux_machdep.c 
	sys/arch/hppa/hppa: machdep.c 
	sys/arch/i386/i386: freebsd_machdep.c linux_machdep.c machdep.c 
	                    svr4_machdep.c 
	sys/arch/m68k/m68k: sig_machdep.c 
	sys/arch/macppc/macppc: machdep.c 
	sys/arch/mvme68k/mvme68k: hpux_machdep.c 
	sys/arch/mvme88k/mvme88k: machdep.c 
	sys/arch/mvmeppc/mvmeppc: machdep.c 
	sys/arch/sparc/sparc: machdep.c svr4_machdep.c 
	sys/arch/sparc64/sparc64: machdep.c netbsd_machdep.c 
	sys/arch/sparc64/stand/ofwboot: version 
	sys/arch/vax/vax: machdep.c 
	sys/compat/common: compat_util.c 
	sys/compat/ultrix: ultrix_fs.c 
	sys/kern       : kern_exec.c 
	sys/sys        : exec.h proc.h 

Log message:
Instead of copying out the signal trampoline on top of the stack, create
an uvm aobj, copy out the signal trampoline into it and share that page
among all processes for the same emulation.

This also requires us to actually be able to tell signal code where the
trampoline is located, so introduce a new field in struct proc - p_sigcode
that is a pointer to sigcode. This allows us to remove all the ugly
calculations of the signal trampoline address done in every sendsig
function in the tree (that's why so many files are changed).

Tested by various people. ok deraadt@



Visit your host, monkey.org