From owner-cvs-src@FreeBSD.ORG Thu Nov 13 20:04:15 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91FEB16A4CE; Thu, 13 Nov 2003 20:04:15 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E53B43F85; Thu, 13 Nov 2003 20:04:15 -0800 (PST) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAE44EXJ084915; Thu, 13 Nov 2003 20:04:14 -0800 (PST) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAE44Ef9084914; Thu, 13 Nov 2003 20:04:14 -0800 (PST) (envelope-from jeff) Message-Id: <200311140404.hAE44Ef9084914@repoman.freebsd.org> From: Jeff Roberson Date: Thu, 13 Nov 2003 20:04:14 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/alpha/alpha machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2003 04:04:15 -0000 jeff 2003/11/13 20:04:14 PST FreeBSD src repository Modified files: sys/alpha/alpha machdep.c Log: - Drop the process lock before we call into ptrace_{read|write}_int or any functions that call them. Calling proc_rwmem() with the proc lock held is not safe. Currently, we're protected from any races by Giant. Eventually proc_rwmem() should require the proc lock and not Giant. Revision Changes Path 1.215 +7 -4 src/sys/alpha/alpha/machdep.c