diff options
author | marius <marius@FreeBSD.org> | 2008-08-24 20:53:36 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2008-08-24 20:53:36 +0000 |
commit | e95621f381ab930a1b7f2be1bfe3259ead616346 (patch) | |
tree | baad18f409365a13a826cc143643e2ac67e5282b /sys/compat/freebsd32 | |
parent | 4561fa447ef579c8b93b84878af6c7d4e401e68c (diff) | |
download | FreeBSD-src-e95621f381ab930a1b7f2be1bfe3259ead616346.zip FreeBSD-src-e95621f381ab930a1b7f2be1bfe3259ead616346.tar.gz |
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.
MFC after: 3 days
Diffstat (limited to 'sys/compat/freebsd32')
0 files changed, 0 insertions, 0 deletions