Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 07/19/2006 21:11:48
Module Name:	src
Committed By:	ad
Date:		Wed Jul 19 21:11:48 UTC 2006

Modified Files:
	src/sys/arch/acorn26/acorn26: except.c
	src/sys/arch/alpha/alpha: linux_syscall.c osf1_syscall.c syscall.c
	    trap.c
	src/sys/arch/amd64/amd64: linux32_syscall.c linux_syscall.c
	    netbsd32_syscall.c syscall.c trap.c
	src/sys/arch/amiga/amiga: trap.c
	src/sys/arch/arm/arm: syscall.c undefined.c
	src/sys/arch/arm/arm32: fault.c
	src/sys/arch/arm/fpe-arm: armfpe_init.c
	src/sys/arch/atari/atari: trap.c
	src/sys/arch/cesfic/cesfic: trap.c
	src/sys/arch/hp300/hp300: trap.c
	src/sys/arch/hppa/hppa: trap.c
	src/sys/arch/i386/i386: freebsd_syscall.c ibcs2_syscall.c
	    linux_syscall.c mach_syscall.c svr4_syscall.c syscall.c trap.c
	src/sys/arch/ia64/ia64: trap.c
	src/sys/arch/luna68k/luna68k: trap.c
	src/sys/arch/m68k/m68k: m68k_syscall.c
	src/sys/arch/mac68k/mac68k: trap.c
	src/sys/arch/mips/mips: syscall.c trap.c
	src/sys/arch/mvme68k/mvme68k: trap.c
	src/sys/arch/news68k/news68k: trap.c
	src/sys/arch/next68k/next68k: trap.c
	src/sys/arch/pc532/pc532: syscall.c trap.c
	src/sys/arch/powerpc/ibm4xx: trap.c
	src/sys/arch/powerpc/powerpc: syscall.c trap.c
	src/sys/arch/sh3/sh3: exception.c
	src/sys/arch/sh5/sh5: trap.c
	src/sys/arch/sparc/sparc: syscall.c trap.c
	src/sys/arch/sparc64/sparc64: syscall.c trap.c
	src/sys/arch/sun2/sun2: trap.c
	src/sys/arch/sun3/sun3: trap.c
	src/sys/arch/vax/vax: syscall.c trap.c
	src/sys/arch/x68k/x68k: trap.c
	src/sys/arch/xen/i386: trap.c
	src/sys/kern: kern_exec.c kern_exit.c kern_lwp.c kern_proc.c
	    kern_prot.c kern_subr.c kern_systrace.c
	src/sys/sys: lwp.h proc.h systrace.h

Log Message:
- Hold a reference to the process credentials in each struct lwp.
- Update the reference on syscall and user trap if p_cred has changed.
- Collect accounting flags in the LWP, and collate on LWP exit.


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/sys/arch/acorn26/acorn26/except.c
cvs rdiff -r1.19 -r1.20 src/sys/arch/alpha/alpha/linux_syscall.c
cvs rdiff -r1.21 -r1.22 src/sys/arch/alpha/alpha/osf1_syscall.c
cvs rdiff -r1.22 -r1.23 src/sys/arch/alpha/alpha/syscall.c
cvs rdiff -r1.109 -r1.110 src/sys/arch/alpha/alpha/trap.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/amd64/amd64/linux32_syscall.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/amd64/amd64/linux_syscall.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/amd64/amd64/netbsd32_syscall.c
cvs rdiff -r1.19 -r1.20 src/sys/arch/amd64/amd64/syscall.c
cvs rdiff -r1.25 -r1.26 src/sys/arch/amd64/amd64/trap.c
cvs rdiff -r1.108 -r1.109 src/sys/arch/amiga/amiga/trap.c
cvs rdiff -r1.33 -r1.34 src/sys/arch/arm/arm/syscall.c
cvs rdiff -r1.26 -r1.27 src/sys/arch/arm/arm/undefined.c
cvs rdiff -r1.60 -r1.61 src/sys/arch/arm/arm32/fault.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/arm/fpe-arm/armfpe_init.c
cvs rdiff -r1.82 -r1.83 src/sys/arch/atari/atari/trap.c
cvs rdiff -r1.27 -r1.28 src/sys/arch/cesfic/cesfic/trap.c
cvs rdiff -r1.123 -r1.124 src/sys/arch/hp300/hp300/trap.c
cvs rdiff -r1.35 -r1.36 src/sys/arch/hppa/hppa/trap.c
cvs rdiff -r1.24 -r1.25 src/sys/arch/i386/i386/freebsd_syscall.c
cvs rdiff -r1.33 -r1.34 src/sys/arch/i386/i386/ibcs2_syscall.c
cvs rdiff -r1.37 -r1.38 src/sys/arch/i386/i386/linux_syscall.c
cvs rdiff -r1.19 -r1.20 src/sys/arch/i386/i386/mach_syscall.c
cvs rdiff -r1.32 -r1.33 src/sys/arch/i386/i386/svr4_syscall.c
cvs rdiff -r1.40 -r1.41 src/sys/arch/i386/i386/syscall.c
cvs rdiff -r1.211 -r1.212 src/sys/arch/i386/i386/trap.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/ia64/ia64/trap.c
cvs rdiff -r1.37 -r1.38 src/sys/arch/luna68k/luna68k/trap.c
cvs rdiff -r1.23 -r1.24 src/sys/arch/m68k/m68k/m68k_syscall.c
cvs rdiff -r1.119 -r1.120 src/sys/arch/mac68k/mac68k/trap.c
cvs rdiff -r1.28 -r1.29 src/sys/arch/mips/mips/syscall.c
cvs rdiff -r1.203 -r1.204 src/sys/arch/mips/mips/trap.c
cvs rdiff -r1.83 -r1.84 src/sys/arch/mvme68k/mvme68k/trap.c
cvs rdiff -r1.45 -r1.46 src/sys/arch/news68k/news68k/trap.c
cvs rdiff -r1.59 -r1.60 src/sys/arch/next68k/next68k/trap.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/pc532/pc532/syscall.c
cvs rdiff -r1.78 -r1.79 src/sys/arch/pc532/pc532/trap.c
cvs rdiff -r1.34 -r1.35 src/sys/arch/powerpc/ibm4xx/trap.c
cvs rdiff -r1.30 -r1.31 src/sys/arch/powerpc/powerpc/syscall.c
cvs rdiff -r1.112 -r1.113 src/sys/arch/powerpc/powerpc/trap.c
cvs rdiff -r1.26 -r1.27 src/sys/arch/sh3/sh3/exception.c
cvs rdiff -r1.39 -r1.40 src/sys/arch/sh5/sh5/trap.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/sparc/sparc/syscall.c
cvs rdiff -r1.168 -r1.169 src/sys/arch/sparc/sparc/trap.c
cvs rdiff -r1.15 -r1.16 src/sys/arch/sparc64/sparc64/syscall.c
cvs rdiff -r1.131 -r1.132 src/sys/arch/sparc64/sparc64/trap.c
cvs rdiff -r1.25 -r1.26 src/sys/arch/sun2/sun2/trap.c
cvs rdiff -r1.124 -r1.125 src/sys/arch/sun3/sun3/trap.c
cvs rdiff -r1.1 -r1.2 src/sys/arch/vax/vax/syscall.c
cvs rdiff -r1.103 -r1.104 src/sys/arch/vax/vax/trap.c
cvs rdiff -r1.80 -r1.81 src/sys/arch/x68k/x68k/trap.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/xen/i386/trap.c
cvs rdiff -r1.220 -r1.221 src/sys/kern/kern_exec.c
cvs rdiff -r1.156 -r1.157 src/sys/kern/kern_exit.c
cvs rdiff -r1.36 -r1.37 src/sys/kern/kern_lwp.c
cvs rdiff -r1.91 -r1.92 src/sys/kern/kern_proc.c src/sys/kern/kern_prot.c
cvs rdiff -r1.136 -r1.137 src/sys/kern/kern_subr.c
cvs rdiff -r1.54 -r1.55 src/sys/kern/kern_systrace.c
cvs rdiff -r1.37 -r1.38 src/sys/sys/lwp.h
cvs rdiff -r1.222 -r1.223 src/sys/sys/proc.h
cvs rdiff -r1.19 -r1.20 src/sys/sys/systrace.h

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