Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 322300 Details for
Bug 432884
app-emulation/virtualbox-modules: undeclared 'VM_RESERVED'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The fix
0001-VM_RESERVED-flag-got-removed.patch (text/plain), 1.46 KB, created by
Arvydas Sidorenko
on 2012-08-26 16:55:54 UTC
(
hide
)
Description:
The fix
Filename:
MIME Type:
Creator:
Arvydas Sidorenko
Created:
2012-08-26 16:55:54 UTC
Size:
1.46 KB
patch
obsolete
>From a8463ca6f771a76f23bd5a47324bda45f2133521 Mon Sep 17 00:00:00 2001 >From: Arvydas Sidorenko <asido4@gmail.com> >Date: Sun, 26 Aug 2012 17:19:04 +0200 >Subject: [PATCH] VM_RESERVED flag is gone > >To achieve the same effect `VM_DONTEXPAND | VM_DONTDUMP` could be used. >More info in kernel commit: f92f2c858782e6bc63c9808444cc424dd3b270de > >Signed-off-by: Arvydas Sidorenko <asido4@gmail.com> >--- > vboxdrv/r0drv/linux/memobj-r0drv-linux.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/vboxdrv/r0drv/linux/memobj-r0drv-linux.c b/vboxdrv/r0drv/linux/memobj-r0drv-linux.c >index b0b2146..f5dd6a7 100644 >--- a/vboxdrv/r0drv/linux/memobj-r0drv-linux.c >+++ b/vboxdrv/r0drv/linux/memobj-r0drv-linux.c >@@ -1448,7 +1448,7 @@ DECLHIDDEN(int) rtR0MemObjNativeMapUser(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ p > > #if defined(VBOX_USE_INSERT_PAGE) && LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22) > rc = vm_insert_page(vma, ulAddrCur, pMemLnxToMap->apPages[iPage]); >- vma->vm_flags |= VM_RESERVED; /* This flag helps making 100% sure some bad stuff wont happen (swap, core, ++). */ >+ vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; /* These flags help making 100% sure some bad stuff wont happen (swap, core, ++). */ > #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 11) > rc = remap_pfn_range(vma, ulAddrCur, page_to_pfn(pMemLnxToMap->apPages[iPage]), PAGE_SIZE, fPg); > #elif defined(VBOX_USE_PAE_HACK) >-- >1.7.12 >
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 432884
: 322300 |
332100