From owner-cvs-src@FreeBSD.ORG Thu Aug 28 18:50:33 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72E7810656A4; Thu, 28 Aug 2008 18:50:33 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5DADC8FC29; Thu, 28 Aug 2008 18:50:33 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7SIoX9Z054235; Thu, 28 Aug 2008 18:50:33 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7SIoX62054234; Thu, 28 Aug 2008 18:50:33 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <200808281850.m7SIoX62054234@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Thu, 28 Aug 2008 18:50:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/sparc64/sparc64 trap.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 28 Aug 2008 18:50:33 -0000 marius 2008-08-28 18:50:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/sparc64/sparc64 trap.c Log: SVN rev 182394 on 2008-08-28 18:50:09Z by marius MFC: r182122 There's a race in kmem(4) between checking whether a page is resident in the kernel and copying it out, causing a panic when faulting on a nofault entry. Handle this case gracefully by letting the kernel copy functions return EFAULT instead. As such this change addresses the same problem as r154721 does for i386. Revision Changes Path 1.74.2.5 +14 -0 src/sys/sparc64/sparc64/trap.c