VirtualBox

Ignore:
Timestamp:
Jul 14, 2021 9:45:39 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145694
Message:

VMM/VMMR0JmpA-amd64.asm: Another stack fuzz adjustment for linux 5.13. bugref:10064 ticketref:20090 ticketref:20456

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/VMMR0JmpA-amd64.asm

    r90173 r90177  
    3333
    3434;; Workaround for linux 4.6 fast/slow syscall stack depth difference.
    35 ;; Update: This got worse with linux 5.13. See bugref:10064.
     35;; Update: This got worse with linux 5.13 and CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT.
     36;;         The x86 arch_exit_to_user_mode_prepare code limits the offset to 255,
     37;;         while the generic limit is 1023.  See bugref:10064 for details.
    3638%ifdef VMM_R0_SWITCH_STACK
    3739 %define STACK_FUZZ_SIZE 0
    3840%else
    39  %define STACK_FUZZ_SIZE 256
     41 %ifdef RT_OS_LINUX
     42  %define STACK_FUZZ_SIZE 384
     43 %else
     44  %define STACK_FUZZ_SIZE 128
     45 %endif
    4046%endif
    4147
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette