diff options
author | alc <alc@FreeBSD.org> | 1999-06-12 23:10:38 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 1999-06-12 23:10:38 +0000 |
commit | 15096c63d6ce3c056a19c5bd1b8774cdfa24e719 (patch) | |
tree | 50d3656184d2d08faeb003aa4dc8c96dc5ce7f8c /sys | |
parent | f972f1b1f1e4743029f813409b2ba61f5397e6d9 (diff) | |
download | FreeBSD-src-15096c63d6ce3c056a19c5bd1b8774cdfa24e719.zip FreeBSD-src-15096c63d6ce3c056a19c5bd1b8774cdfa24e719.tar.gz |
vm_map_protect:
The wrong vm_map_entry is used to determine if writes must not be
allowed due to COW.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vm_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index 39e6444..9e3b14c 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_map.c,v 1.164 1999/05/18 05:38:48 alc Exp $ + * $Id: vm_map.c,v 1.165 1999/05/28 03:39:43 alc Exp $ */ /* @@ -1207,7 +1207,7 @@ vm_map_protect(vm_map_t map, vm_offset_t start, vm_offset_t end, pmap_protect(map->pmap, current->start, current->end, - current->protection & MASK(entry)); + current->protection & MASK(current)); #undef MASK } |