From owner-cvs-all Mon Mar 18 20:30:21 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 04DA937B405; Mon, 18 Mar 2002 20:30:07 -0800 (PST) Received: (from alfred@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2J4U6u91559; Mon, 18 Mar 2002 20:30:06 -0800 (PST) (envelope-from alfred) Message-Id: <200203190430.g2J4U6u91559@freefall.freebsd.org> From: Alfred Perlstein Date: Mon, 18 Mar 2002 20:30:06 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_descrip.c vfs_syscalls.c 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 alfred 2002/03/18 20:30:06 PST Modified files: sys/kern kern_descrip.c vfs_syscalls.c Log: Close a race when vfs_syscalls.c:checkdirs() runs. To do this protect the filedesc pointer in the proc with PROC_LOCK in both checkdirs() and kern_descrip.c:fdfree(). Revision Changes Path 1.129 +7 -1 src/sys/kern/kern_descrip.c 1.232 +12 -7 src/sys/kern/vfs_syscalls.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message