VirtualBox

Changeset 52139 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Jul 22, 2014 8:19:29 PM (10 years ago)
Author:
vboxsync
Message:

SUP: child-process purification to avoid sysfer.dll.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r52090 r52139  
    32383238
    32393239#if defined(VBOX_WITH_HARDENING) && defined(RT_OS_WINDOWS)
    3240             /* Hardened windows builds have spawns two processes when a VM is
    3241                launched, the 2nd one is the one that will end up here.  */
     3240            /* Hardened windows builds spawns three processes when a VM is
     3241               launched, the 3rd one is the one that will end up here.  */
    32423242            RTPROCESS ppid;
    32433243            int rc = RTProcQueryParent(pid, &ppid);
     3244            if (RT_SUCCESS(rc))
     3245                rc = RTProcQueryParent(ppid, &ppid);
    32443246            if (   (RT_SUCCESS(rc) && mData->mSession.mPID == ppid)
    32453247                || rc == VERR_ACCESS_DENIED)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette