VirtualBox

Changeset 101527 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Oct 20, 2023 3:15:20 PM (14 months ago)
Author:
vboxsync
Message:

SUPDrv: Try explain r159602. bugref:8864

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c

    r101526 r101527  
    16841684{
    16851685    uint32_t fFlags = 0;
     1686    /* Note! bird 2023-10-20: Apparently, with CONFIG_PAX_KERNEXEC these days,
     1687             not only is the regular GDT read-only, but the one returned by
     1688             get_current_gdt_rw() is also read-only despite the name.
     1689
     1690             We don't know exactly when this started, or if it was always like
     1691             this, but getting hold of the relevant patches isn't all that
     1692             straight forward any longer it seems (which is weird for linux
     1693             patches), so, we've just enabled slow-mode for all PAX_KERNEXEC
     1694             kernels regardless of kernel version. */
    16861695#ifdef CONFIG_PAX_KERNEXEC
    16871696    fFlags |= SUPKERNELFEATURES_GDT_READ_ONLY;
     
    16901699    fFlags |= SUPKERNELFEATURES_GDT_NEED_WRITABLE;
    16911700#endif
     1701
    16921702#if defined(VBOX_STRICT) || defined(VBOX_WITH_EFLAGS_AC_SET_IN_VBOXDRV)
    16931703    fFlags |= SUPKERNELFEATURES_SMAP;
Note: See TracChangeset for help on using the changeset viewer.

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