VirtualBox

Ignore:
Timestamp:
Jul 25, 2014 3:04:01 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95251
Message:

HostDrivers/Support, VMM: support CONFIG_PAX_KERNEXEC Linux kernels

File:
1 edited

Legend:

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

    r51770 r52192  
    10661066}
    10671067
     1068
     1069/**
     1070 * Returns configuration flags of the host kernel.
     1071 */
     1072SUPR0DECL(uint32_t) SUPR0GetKernelFeatures(void)
     1073{
     1074    uint32_t fFlags = 0;
     1075#ifdef CONFIG_PAX_KERNEXEC
     1076    fFlags |= SUPKERNELFEATURES_GDT_READ_ONLY;
     1077#endif
     1078    return fFlags;
     1079}
     1080
     1081
    10681082module_init(VBoxDrvLinuxInit);
    10691083module_exit(VBoxDrvLinuxUnload);
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