FreeBSD Bugzilla – Attachment 33139 Details for
Bug 54418
Bug in VM page protection handling.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 489 bytes, created by
Pawel Jakub Dawidek
on 2003-07-12 21:10:13 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Pawel Jakub Dawidek
Created:
2003-07-12 21:10:13 UTC
Size:
489 bytes
patch
obsolete
>diff -upr /usr/src/sys/vm/vm_map.c src/sys/vm/vm_map.c >--- /usr/src/sys/vm/vm_map.c Fri Jul 4 00:38:04 2003 >+++ src/sys/vm/vm_map.c Sat Jul 12 21:15:25 2003 >@@ -1393,7 +1393,8 @@ vm_map_protect(vm_map_t map, vm_offset_t > vm_map_unlock(map); > return (KERN_INVALID_ARGUMENT); > } >- if ((new_prot & current->max_protection) != new_prot) { >+ if (!set_max && >+ (new_prot & current->max_protection) != new_prot) { > vm_map_unlock(map); > return (KERN_PROTECTION_FAILURE); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 54418
: 33139