Date: Sat, 16 Feb 2002 17:09:56 -0800 (PST) From: Julian Elischer <julian@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 trap.c src/sys/kern kern_fork.c kern_prot.c subr_trap.c src/sys/sys ucred.h Message-ID: <200202170109.g1H19uI89564@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
julian 2002/02/16 17:09:56 PST
Modified files:
sys/i386/i386 trap.c
sys/kern kern_fork.c kern_prot.c subr_trap.c
sys/sys ucred.h
Log:
If the credential on an incoming thread is correct, don't bother
reaquiring it. In the same vein, don't bother dropping the thread cred
when goinf ot userland. We are guaranteed to nned it when we come back,
(which we are guaranteed to do).
Reviewed by: jhb@freebsd.org, bde@freebsd.org (slightly different version)
Revision Changes Path
1.212 +8 -6 src/sys/i386/i386/trap.c
1.131 +2 -0 src/sys/kern/kern_fork.c
1.134 +21 -0 src/sys/kern/kern_prot.c
1.208 +4 -3 src/sys/kern/subr_trap.c
1.28 +1 -0 src/sys/sys/ucred.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202170109.g1H19uI89564>
