Changeset 52962 in vbox for trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyProcess-win.cpp
- Timestamp:
- Oct 6, 2014 8:09:04 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyProcess-win.cpp
r52954 r52962 953 953 } 954 954 955 /* The section bits, only child purification verifies all bits . */ 956 if ( pThis->enmKind == SUPHARDNTVPKIND_CHILD_PURIFICATION 957 || ( (pThis->aSecHdrs[i].Characteristics & (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_CNT_CODE)) 955 /* The section bits. Child purification verifies all, normal 956 verification verifies all except where the executable is 957 concerned (due to opening vboxdrv during early process init). */ 958 if ( ( (pThis->aSecHdrs[i].Characteristics & (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_CNT_CODE)) 958 959 && !(pThis->aSecHdrs[i].Characteristics & IMAGE_SCN_MEM_WRITE)) 959 || (pThis->aSecHdrs[i].Characteristics & (IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE)) == IMAGE_SCN_MEM_READ) 960 || (pThis->aSecHdrs[i].Characteristics & (IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE)) == IMAGE_SCN_MEM_READ 961 || (pThis->enmKind == SUPHARDNTVPKIND_VERIFY_ONLY && pImage->fDll) 962 || pThis->enmKind == SUPHARDNTVPKIND_CHILD_PURIFICATION) 960 963 { 961 964 rc = VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.