From owner-cvs-all Sat Feb 16 17:10: 2 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4BD2637B400; Sat, 16 Feb 2002 17:09:56 -0800 (PST) Received: (from julian@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1H19uI89564; Sat, 16 Feb 2002 17:09:56 -0800 (PST) (envelope-from julian) Message-Id: <200202170109.g1H19uI89564@freefall.freebsd.org> From: Julian Elischer Date: Sat, 16 Feb 2002 17:09:56 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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