Date: Thu, 13 Mar 2003 10:24:22 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> 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 Message-ID: <200303131824.h2DIONCA075075@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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-src" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303131824.h2DIONCA075075>