Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- /run/shm/2/src/vboxhost/vboxdrv/r0drv/linux/memobj-r0drv-linux.c
- +++ /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
- @@ -1,4 +1,4 @@
- -/* $Id: memobj-r0drv-linux.c 129042 2019-02-26 07:06:14Z michael $ */
- +/* $Id: memobj-r0drv-linux.c 125570 2018-10-08 12:34:55Z michael $ */
- /** @file
- * IPRT - Ring-0 Memory Objects, Linux.
- */
- @@ -1113,9 +1113,7 @@
- pTask->mm, /* Whose pages. */
- R3Ptr, /* Where from. */
- cPages, /* How many pages. */
- -/* The get_user_pages API change was back-ported to 4.4.168. */
- -# if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 168) \
- - && LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)
- +# if GET_USER_PAGES_API >= KERNEL_VERSION(4, 9, 0)
- fWrite ? FOLL_WRITE | /* Write to memory. */
- FOLL_FORCE /* force write access. */
- : 0, /* Write to memory. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement