diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-06-29 17:02:17 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-06-29 17:02:17 +0000 |
commit | d55fd9f438c0bf13195ebcff240017540784001b (patch) | |
tree | 7a5750bba89d6c51d55c0bc07562e38354ba5f97 /sys/uvm/uvm_mmap.c | |
parent | decbf2e1ba73986a17af27e6823783dd698b2760 (diff) |
fallout from previous: remmapping anonymous memory did not account dsize proper; found by krause and mmap_fixed
Diffstat (limited to 'sys/uvm/uvm_mmap.c')
-rw-r--r-- | sys/uvm/uvm_mmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_mmap.c b/sys/uvm/uvm_mmap.c index 42b4db26482..1728c3b5409 100644 --- a/sys/uvm/uvm_mmap.c +++ b/sys/uvm/uvm_mmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_mmap.c,v 1.61 2006/06/21 16:20:05 mickey Exp $ */ +/* $OpenBSD: uvm_mmap.c,v 1.62 2006/06/29 17:02:16 mickey Exp $ */ /* $NetBSD: uvm_mmap.c,v 1.49 2001/02/18 21:19:08 chs Exp $ */ /* @@ -1197,7 +1197,7 @@ uvm_mmap(map, addr, size, prot, maxprot, flags, handle, foff, locklimit, p) if (*addr & PAGE_MASK) return(EINVAL); uvmflag |= UVM_FLAG_FIXED; - uvm_unmap(map, *addr, *addr + size); /* zap! */ + uvm_unmap_p(map, *addr, *addr + size, p); /* zap! */ } /* |