Changeset 57108 in vbox for trunk/src/VBox/HostDrivers/Support/linux
- Timestamp:
- Jul 28, 2015 11:49:23 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 101836
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
r56293 r57108 1107 1107 1108 1108 1109 /**1110 * Returns configuration flags of the host kernel.1111 */1112 1109 SUPR0DECL(uint32_t) SUPR0GetKernelFeatures(void) 1113 1110 { … … 1115 1112 #ifdef CONFIG_PAX_KERNEXEC 1116 1113 fFlags |= SUPKERNELFEATURES_GDT_READ_ONLY; 1114 #endif 1115 #ifdef CONFIG_X86_SMAP 1116 if (ASMGetCR4() & X86_CR4_SMAP) 1117 fFlags |= SUPKERNELFEATURES_SMAP; 1117 1118 #endif 1118 1119 return fFlags;
Note:
See TracChangeset
for help on using the changeset viewer.