1
0
forked from pool/virtualbox
virtualbox/modify_for_4_8_bo_move.patch

22 lines
885 B
Diff
Raw Normal View History

Accepting request 926822 from home:lwfinger:branches:Virtualization - Version bump to 6.1.28 (released October 19 2021 by Oracle) This is a maintenance release. The following items were fixed and/or added: VMM: Fixed guru meditation while booting nested-guests accessing debug registers under certain conditions UI: Bug fixes for touchpad-based scrolling VMSVGA: Fixed VM black screen issue on first resize after restoring from saved state (bug #20067) VMSVGA: Fixed display corruption on Linux Mint (bug #20513) Storage: Fixed a possible write error under certain circumstances when using VHD images (bug #20512) Network: Multiple updates in virtio-net device support Network: Disconnecting cable in saved VM state now is handled properly by virtio-net Network: More administrative control over network ranges, see user manual NAT: Fixed not rejecting TFTP requests with absolute pathnames (bug #20589) Audio: Fixed VM session aborting after PC hibernation (bug #20516) Audio: Fixed setting the line-in volume of the HDA emulation on modern Linux guests Audio: Fixed resuming playback of the AC'97 emulation while a snapshot has been taken API: Added bindings support for Python 3.9 (bug #20252) API: Fixed rare hang of VM when changing settings at runtime Linux host: Improved kernel modules installation detection which prevents unnecessary modules rebuild Host Services: Shared Clipboard: Prevent guest clipboard reset when clipboard sharing is disabled (bug #20487) Host Services: Shared Clipboard over VRDP: Fixed to continue working when guest service reconnects to host (bug #20366) Host Services: Shared Clipboard over VRDP: Fixed preventing remote RDP client to hang when guest has no clipboard data to report Linux Host and Guest: Introduced initial support for kernels 5.14 and 5.15 Linux Host and Guest: Introduced initial support for RHEL 8.5 kernel Windows Guest: Introduced Windows 11 guest support, including unattended installation Deleted file "fix_ordering_of_qt_includes.patch" - fixed upstream. Fixes CVE-2021-35538, CVE-2021-35545, CVE-2021-35540, CVE-2021-35542, and CVE-2021-2475 (boo#1191869) OBS-URL: https://build.opensuse.org/request/show/926822 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=621
2021-10-21 19:55:02 +02:00
Index: VirtualBox-6.1.28/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
===================================================================
Accepting request 926822 from home:lwfinger:branches:Virtualization - Version bump to 6.1.28 (released October 19 2021 by Oracle) This is a maintenance release. The following items were fixed and/or added: VMM: Fixed guru meditation while booting nested-guests accessing debug registers under certain conditions UI: Bug fixes for touchpad-based scrolling VMSVGA: Fixed VM black screen issue on first resize after restoring from saved state (bug #20067) VMSVGA: Fixed display corruption on Linux Mint (bug #20513) Storage: Fixed a possible write error under certain circumstances when using VHD images (bug #20512) Network: Multiple updates in virtio-net device support Network: Disconnecting cable in saved VM state now is handled properly by virtio-net Network: More administrative control over network ranges, see user manual NAT: Fixed not rejecting TFTP requests with absolute pathnames (bug #20589) Audio: Fixed VM session aborting after PC hibernation (bug #20516) Audio: Fixed setting the line-in volume of the HDA emulation on modern Linux guests Audio: Fixed resuming playback of the AC'97 emulation while a snapshot has been taken API: Added bindings support for Python 3.9 (bug #20252) API: Fixed rare hang of VM when changing settings at runtime Linux host: Improved kernel modules installation detection which prevents unnecessary modules rebuild Host Services: Shared Clipboard: Prevent guest clipboard reset when clipboard sharing is disabled (bug #20487) Host Services: Shared Clipboard over VRDP: Fixed to continue working when guest service reconnects to host (bug #20366) Host Services: Shared Clipboard over VRDP: Fixed preventing remote RDP client to hang when guest has no clipboard data to report Linux Host and Guest: Introduced initial support for kernels 5.14 and 5.15 Linux Host and Guest: Introduced initial support for RHEL 8.5 kernel Windows Guest: Introduced Windows 11 guest support, including unattended installation Deleted file "fix_ordering_of_qt_includes.patch" - fixed upstream. Fixes CVE-2021-35538, CVE-2021-35545, CVE-2021-35540, CVE-2021-35542, and CVE-2021-2475 (boo#1191869) OBS-URL: https://build.opensuse.org/request/show/926822 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=621
2021-10-21 19:55:02 +02:00
--- VirtualBox-6.1.28.orig/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
+++ VirtualBox-6.1.28/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
@@ -35,7 +35,7 @@
#include <iprt/assert.h>
- Version bump to 6.0.4 (released January 28 2019 by Oracle) Files "fixes_for_5.0" and "fixes_for_gcc9" are deleted - the code was fixed upstream. This is a maintenance release. The following items were fixed and/or added: Virtualization core: support Shanghai/Zhaoxin CPUs. User interface: handle command line arguments to VirtualBox correctly (bugs #18206 and #18197) User interface: improvements to machine manager window, virtual optical disk creator, storage selector window and log viewer window User interface: various small fixes and improvements Audio: implemented time scheduling for the AC'97 device emulation to keep audio and video in sync Graphics: basic support for VMSVGA graphics device in virtual machines using EFI Network: fix occasional NATNet crashes (bug #13899) Network: worked around problems in certain PCnet drivers on old operating systems Serial: fixed connecting to pseudo terminals on POSIX hosts (6.0.0 regression; bug #18319) Linux hosts and guests: fix for building kernel modules against Linux 5.0. Thank you Kyle Laker - Converted vboxwebsrv to a systemd service. Previously, this was started through init.d. bsc#1116050 Files "vboxweb-service.service" and "vboxweb-service.sh" are added. File "vbox-vboxweb-init-script.diff" is removed. File "fixes_for_4.20.patch" is removed - the code was fixed upstream. File "fix_lib_search.patch" is added to fix the build of VBox0GL. File "fixes_for_5.0.patch" is added to compensate for API changes in kernel 5.0. File "virtualbox-system-x.patch" is removed. File "fixes_for_Leap15.1.patch" is added to fix build errors on Leap 15<F5>.1. - Version bump to 6.0.2 (released January 15 2019 by Oracle) This is a maintenance release. The following items were fixed and/or added: User interface: fixed creation of desktop shortcuts for starting virtual machines (bug #18207) User interface: allow the first run window to selecting host drives (bug #18230) User interface: fixed attaching empty host optical drives (bug #18223) User interface: implemented a new virtual optical disk creation window USB: modified Linux backends to reset USB devices (previously, most guest attempts to reset USB devices were ignored) PCnet: fixed a regression which caused some PCnet PCI guest drivers to not detect the emulated hardware (bug #18286) OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=465
2019-01-28 21:37:13 +01:00
#include <iprt/errcore.h>
#include "r0drv/alloc-r0drv.h"
-
+#include <linux/kmemleak.h>
#if (defined(RT_ARCH_AMD64) || defined(DOXYGEN_RUNNING)) && !defined(RTMEMALLOC_EXEC_HEAP)
Accepting request 926822 from home:lwfinger:branches:Virtualization - Version bump to 6.1.28 (released October 19 2021 by Oracle) This is a maintenance release. The following items were fixed and/or added: VMM: Fixed guru meditation while booting nested-guests accessing debug registers under certain conditions UI: Bug fixes for touchpad-based scrolling VMSVGA: Fixed VM black screen issue on first resize after restoring from saved state (bug #20067) VMSVGA: Fixed display corruption on Linux Mint (bug #20513) Storage: Fixed a possible write error under certain circumstances when using VHD images (bug #20512) Network: Multiple updates in virtio-net device support Network: Disconnecting cable in saved VM state now is handled properly by virtio-net Network: More administrative control over network ranges, see user manual NAT: Fixed not rejecting TFTP requests with absolute pathnames (bug #20589) Audio: Fixed VM session aborting after PC hibernation (bug #20516) Audio: Fixed setting the line-in volume of the HDA emulation on modern Linux guests Audio: Fixed resuming playback of the AC'97 emulation while a snapshot has been taken API: Added bindings support for Python 3.9 (bug #20252) API: Fixed rare hang of VM when changing settings at runtime Linux host: Improved kernel modules installation detection which prevents unnecessary modules rebuild Host Services: Shared Clipboard: Prevent guest clipboard reset when clipboard sharing is disabled (bug #20487) Host Services: Shared Clipboard over VRDP: Fixed to continue working when guest service reconnects to host (bug #20366) Host Services: Shared Clipboard over VRDP: Fixed preventing remote RDP client to hang when guest has no clipboard data to report Linux Host and Guest: Introduced initial support for kernels 5.14 and 5.15 Linux Host and Guest: Introduced initial support for RHEL 8.5 kernel Windows Guest: Introduced Windows 11 guest support, including unattended installation Deleted file "fix_ordering_of_qt_includes.patch" - fixed upstream. Fixes CVE-2021-35538, CVE-2021-35545, CVE-2021-35540, CVE-2021-35542, and CVE-2021-2475 (boo#1191869) OBS-URL: https://build.opensuse.org/request/show/926822 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=621
2021-10-21 19:55:02 +02:00
# if RTLNX_VER_MIN(2,6,23) && RTLNX_VER_MAX(5,8,0) && !RTLNX_RHEL_MAJ_PREREQ(8,5)
@@ -296,6 +296,7 @@ DECLHIDDEN(int) rtR0MemAllocEx(size_t cb
fFlags &= ~RTMEMHDR_FLAG_KMALLOC;
pHdr = vmalloc(cb + sizeof(*pHdr));
}
+ kmemleak_not_leak(pHdr);
}
else
pHdr = vmalloc(cb + sizeof(*pHdr));