From owner-cvs-all Thu Mar 13 10:24:25 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE31837B401; Thu, 13 Mar 2003 10:24:23 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D35C43F93; Thu, 13 Mar 2003 10:24:23 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2DION0U075076; Thu, 13 Mar 2003 10:24:23 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2DIONCA075075; Thu, 13 Mar 2003 10:24:23 -0800 (PST) Message-Id: <200303131824.h2DIONCA075075@repoman.freebsd.org> From: John Baldwin Date: Thu, 13 Mar 2003 10:24:22 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_exec.c kern_exit.c kern_fork.c kern_ktrace.c kern_proc.c src/sys/sys proc.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 jhb 2003/03/13 10:24:22 PST FreeBSD src repository Modified files: sys/kern kern_exec.c kern_exit.c kern_fork.c kern_ktrace.c kern_proc.c sys/sys proc.h Log: - Cache a reference to the credential of the thread that starts a ktrace in struct proc as p_tracecred alongside the current cache of the vnode in p_tracep. This credential is then used for all later ktrace operations on this file rather than using the credential of the current thread at the time of each ktrace event. - Now that we have multiple ktrace-related items in struct proc that are pointers, rename p_tracep to p_tracevp to make it less ambiguous. Requested by: rwatson (1) Revision Changes Path 1.216 +8 -3 src/sys/kern/kern_exec.c 1.203 +7 -2 src/sys/kern/kern_exit.c 1.187 +7 -3 src/sys/kern/kern_fork.c 1.82 +35 -14 src/sys/kern/kern_ktrace.c 1.176 +1 -1 src/sys/kern/kern_proc.c 1.304 +2 -1 src/sys/sys/proc.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message