diff --git a/fix_random_stack_failure.patch b/fix_random_stack_failure.patch deleted file mode 100644 index 1a03071..0000000 --- a/fix_random_stack_failure.patch +++ /dev/null @@ -1,23 +0,0 @@ -Index: VirtualBox-6.1.22/src/VBox/VMM/VMMR0/VMMR0JmpA-amd64.asm -=================================================================== ---- VirtualBox-6.1.22.orig/src/VBox/VMM/VMMR0/VMMR0JmpA-amd64.asm -+++ VirtualBox-6.1.22/src/VBox/VMM/VMMR0/VMMR0JmpA-amd64.asm -@@ -32,10 +32,17 @@ - %define STACK_PADDING 0eeeeeeeeeeeeeeeeh - - ;; Workaround for linux 4.6 fast/slow syscall stack depth difference. -+;; Update: This got worse with linux 5.13 and CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT. -+;; The x86 arch_exit_to_user_mode_prepare code limits the offset to 255, -+;; while the generic limit is 1023. See bugref:10064 for details. - %ifdef VMM_R0_SWITCH_STACK - %define STACK_FUZZ_SIZE 0 - %else -- %define STACK_FUZZ_SIZE 128 -+ %ifdef RT_OS_LINUX -+ %define STACK_FUZZ_SIZE 384 -+ %else -+ %define STACK_FUZZ_SIZE 128 -+ %endif - %endif - - diff --git a/virtualbox.spec b/virtualbox.spec index ee948f4..96893f3 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -352,8 +352,8 @@ the terms of the GNU Public License (GPL). -########################################## +########################################## %package qt Summary: Qt GUI part for %{name} Group: System/Emulators/PC @@ -410,8 +410,8 @@ This package contains the code for the GUI used to control VMs. -######################################### +######################################### %package websrv Summary: WebService GUI part for %{name} Group: System/Emulators/PC @@ -462,8 +462,8 @@ The VirtualBox web server is used to control headless VMs using a browser. -######################################### +######################################### %package guest-x11 Summary: VirtualBox X11 drivers for mouse and video Group: System/X11/Servers/XF86_4 @@ -516,8 +516,8 @@ This package contains X11 guest utilities and X11 guest mouse and video drivers -########################################### +########################################### %package guest-tools Summary: VirtualBox guest tools Group: System/Emulators/PC @@ -575,8 +575,8 @@ VirtualBox guest addition tools. -########################################### +########################################### %package -n python3-%{name} Summary: Python bindings for %{name} Group: Development/Libraries/Python @@ -634,8 +634,8 @@ Python XPCOM bindings to %{name}. Used e.g. by vboxgtk package. -########################################### +########################################### %package devel Summary: Devel files for %{name} Group: Development/Libraries/Other @@ -688,8 +688,8 @@ Development file for %{name} -########################################### +########################################### %package host-source Summary: Source files for %{name} host kernel modules Group: Development/Sources @@ -744,8 +744,8 @@ sudo /sbin/vboxguestconfig -########################################### +########################################### %package guest-desktop-icons Summary: Icons for guest desktop files Group: System/Emulators/PC @@ -796,8 +796,8 @@ This package contains icons for guest desktop files that were created on the des -########################################### +########################################### %package vnc Summary: VNC desktop sharing Group: System/Emulators/PC