Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. --- /run/shm/2/src/vboxhost/vboxdrv/r0drv/linux/memobj-r0drv-linux.c
  2. +++ /run/shm/t/virtualbox-5.2_5.2.26-128414~Ubuntu~trusty_amd64/usr/share/virtualbox/src/vboxhost/vboxdrv/r0drv/linux/memobj-r0drv-linux.c
  3. @@ -1,4 +1,4 @@
  4. -/* $Id: memobj-r0drv-linux.c 129042 2019-02-26 07:06:14Z michael $ */
  5. +/* $Id: memobj-r0drv-linux.c 125570 2018-10-08 12:34:55Z michael $ */
  6. /** @file
  7. * IPRT - Ring-0 Memory Objects, Linux.
  8. */
  9. @@ -1113,9 +1113,7 @@
  10. pTask->mm, /* Whose pages. */
  11. R3Ptr, /* Where from. */
  12. cPages, /* How many pages. */
  13. -/* The get_user_pages API change was back-ported to 4.4.168. */
  14. -# if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 168) \
  15. - && LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)
  16. +# if GET_USER_PAGES_API >= KERNEL_VERSION(4, 9, 0)
  17. fWrite ? FOLL_WRITE | /* Write to memory. */
  18. FOLL_FORCE /* force write access. */
  19. : 0, /* Write to memory. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement