Changeset 101527 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Oct 20, 2023 3:15:20 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
r101526 r101527 1684 1684 { 1685 1685 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. */ 1686 1695 #ifdef CONFIG_PAX_KERNEXEC 1687 1696 fFlags |= SUPKERNELFEATURES_GDT_READ_ONLY; … … 1690 1699 fFlags |= SUPKERNELFEATURES_GDT_NEED_WRITABLE; 1691 1700 #endif 1701 1692 1702 #if defined(VBOX_STRICT) || defined(VBOX_WITH_EFLAGS_AC_SET_IN_VBOXDRV) 1693 1703 fFlags |= SUPKERNELFEATURES_SMAP;
Note:
See TracChangeset
for help on using the changeset viewer.