Date: Thu, 28 Aug 2008 18:50:09 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/sparc64 trap.c Message-ID: <200808281850.m7SIoX62054234@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808281850.m7SIoX62054234>