Changeset 106930 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Nov 11, 2024 3:26:11 PM (6 months ago)
- svn:sync-xref-src-repo-rev:
- 165856
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp
r106925 r106930 1195 1195 if (RT_SUCCESS(rc)) 1196 1196 { 1197 # ifdef VBOXDRV_WITH_SID_TO_UID_MAPPING1197 # ifdef VBOXDRV_WITH_SID_TO_UID_MAPPING 1198 1198 rc = supdrvNtUserIdMakeForSession(pSession); 1199 1199 if (RT_SUCCESS(rc)) 1200 # endif1200 # endif 1201 1201 rc = supdrvSessionHashTabInsert(pDevExt, pSession, (PSUPDRVSESSION *)&pFileObj->FsContext, NULL); 1202 1202 supdrvSessionRelease(pSession); … … 1244 1244 if (RT_SUCCESS(rc)) 1245 1245 { 1246 # ifdef VBOXDRV_WITH_SID_TO_UID_MAPPING1246 # ifdef VBOXDRV_WITH_SID_TO_UID_MAPPING 1247 1247 rc = supdrvNtUserIdMakeForSession(pSession); 1248 1248 if (RT_SUCCESS(rc)) 1249 # endif1249 # endif 1250 1250 rc = supdrvSessionHashTabInsert(pDevExt, pSession, (PSUPDRVSESSION *)&pFileObj->FsContext, NULL); 1251 1251 supdrvSessionRelease(pSession); … … 2206 2206 2207 2207 # ifdef VBOX_WITH_MINIMAL_HARDENING 2208 /** 2209 * Performs pre-opening of .r0 image checks. 2210 * 2211 * When minimal hardening is enabled, we require the images loaded to be signed 2212 * by the build certificate, thus liminiting what we load to things we have 2208 /** 2209 * Performs pre-opening of .r0 image checks. 2210 * 2211 * When minimal hardening is enabled, we require the images loaded to be signed 2212 * by the build certificate, thus liminiting what we load to things we have 2213 2213 * built ourselves. 2214 2214 */ 2215 2215 static int supdrvOSLdrCheckBeforeOpen(PUNICODE_STRING pUniStrPath, HANDLE *phImage) 2216 2216 { 2217 /* 2217 /* 2218 2218 * Open the image file, denying write accesses. 2219 2219 */
Note:
See TracChangeset
for help on using the changeset viewer.