2c52cfe01d
- VirtualBox 7.0.4 (released November 18 2022) VirtualBox 7.0.2 (released October 20 2022) VirtualBox 7.0.0 (released October 10 2022) OBS-URL: https://build.opensuse.org/request/show/1037192 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=664
14 lines
953 B
Diff
14 lines
953 B
Diff
Index: VirtualBox-7.0.4/src/VBox/Additions/linux/sharedfolders/regops.c
|
|
===================================================================
|
|
--- VirtualBox-7.0.4.orig/src/VBox/Additions/linux/sharedfolders/regops.c
|
|
+++ VirtualBox-7.0.4/src/VBox/Additions/linux/sharedfolders/regops.c
|
|
@@ -1451,7 +1451,7 @@ DECLINLINE(int) vbsf_lock_user_pages(uin
|
|
# elif RTLNX_VER_MIN(4,6,0)
|
|
ssize_t cPagesLocked = get_user_pages_unlocked(uPtrFrom, cPages, fWrite, 1 /*force*/, papPages);
|
|
# elif RTLNX_VER_RANGE(4,4,168, 4,5,0)
|
|
- ssize_t cPagesLocked = get_user_pages_unlocked(current, current->mm, uPtrFrom, cPages, papPages,
|
|
+ ssize_t cPagesLocked = get_user_pages_unlocked(uPtrFrom, cPages, papPages,
|
|
fWrite ? FOLL_WRITE | FOLL_FORCE : FOLL_FORCE);
|
|
# elif RTLNX_VER_MIN(4,0,0)
|
|
ssize_t cPagesLocked = get_user_pages_unlocked(current, current->mm, uPtrFrom, cPages, fWrite, 1 /*force*/, papPages);
|