diff options
author | dillon <dillon@FreeBSD.org> | 1999-09-20 19:08:48 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-09-20 19:08:48 +0000 |
commit | e8761b4e052785153d92b664a5dbe32e4a1de18e (patch) | |
tree | dcac6780728b4221aa67e14342e5541829c1b0c5 /sys/vm | |
parent | 93e77b056762475c3c25ed8a6e2f428c8969b448 (diff) | |
download | FreeBSD-src-e8761b4e052785153d92b664a5dbe32e4a1de18e.zip FreeBSD-src-e8761b4e052785153d92b664a5dbe32e4a1de18e.tar.gz |
Fix bug in pipe code relating to writes of mmap'd but illegal address
spaces which cross a segment boundry in the page table. pmap_kextract()
is not designed for access to the user space portion of the page
table and cannot handle the null-page-directory-entry case.
The fix is to have vm_fault_quick() return a success or failure which
is then used to avoid calling pmap_kextract().
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_extern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_extern.h b/sys/vm/vm_extern.h index c8b90ba..2934eba 100644 --- a/sys/vm/vm_extern.h +++ b/sys/vm/vm_extern.h @@ -99,7 +99,7 @@ void vslock __P((caddr_t, u_int)); void vsunlock __P((caddr_t, u_int, int)); void vm_object_print __P((/* db_expr_t */ long, boolean_t, /* db_expr_t */ long, char *)); -void vm_fault_quick __P((caddr_t v, int prot)); +int vm_fault_quick __P((caddr_t v, int prot)); #endif /* KERNEL */ |