FreeBSD Bugzilla – Attachment 46406 Details for
Bug 71258
[vm] [patch] anonymous mmappings not always page aligned
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
vmmmap.c.patch.txt
vmmmap.c.patch.txt (text/plain), 528 bytes, created by
Alexander Best
on 2009-11-08 02:23:32 UTC
(
hide
)
Description:
vmmmap.c.patch.txt
Filename:
MIME Type:
Creator:
Alexander Best
Created:
2009-11-08 02:23:32 UTC
Size:
528 bytes
patch
obsolete
>Index: sys/vm/vm_mmap.c >=================================================================== >--- sys/vm/vm_mmap.c (revision 199016) >+++ sys/vm/vm_mmap.c (working copy) >@@ -244,6 +244,9 @@ > pos = 0; > } > >+ if (flags & MAP_ANON && pos != 0) >+ return (EINVAL); >+ > /* > * Align the file position to a page boundary, > * and save its page offset component. >@@ -300,7 +303,6 @@ > handle = NULL; > handle_type = OBJT_DEFAULT; > maxprot = VM_PROT_ALL; >- pos = 0; > } else { > /* > * Mapping file, get fp for validation and
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 Raw
Actions:
View
Attachments on
bug 71258
: 46406 |
46407