cvs commit: src/sys/sparc64/sparc64 trap.c
Marius Strobl
marius at FreeBSD.org
Thu Aug 28 18:35:11 UTC 2008
marius 2008-08-28 18:34:56 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/sparc64/sparc64 trap.c
Log:
SVN rev 182392 on 2008-08-28 18:34:56Z 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.88.2.4 +14 -0 src/sys/sparc64/sparc64/trap.c
More information about the cvs-src
mailing list