VirtualBox

Changeset 52974 in vbox


Ignore:
Timestamp:
Oct 7, 2014 1:41:55 PM (10 years ago)
Author:
vboxsync
Message:

SUP: Seems ThreadHideFromDebugger on others might require debugger rights. Ignore errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPR3HardenedMain-win.cpp

    r52973 r52974  
    40314031    /*
    40324032     * Apply anti debugger notification trick to the thread.  (Also done in
    4033      * supR3HardenedWinInit.)
     4033     * supR3HardenedWinInit.)  This may fail with STATUS_ACCESS_DENIED and
     4034     * maybe other errors.
    40344035     */
    40354036    rcNt = NtSetInformationThread(This.hThread, ThreadHideFromDebugger, NULL, 0);
    40364037    if (!NT_SUCCESS(rcNt))
    4037         supR3HardenedWinKillChild(&This, "supR3HardenedWinReSpawn", rcNt,
    4038                                   "NtSetInformationThread/ThreadHideFromDebugger failed: %#x\n", rcNt);
     4038        SUP_DPRINTF(("supR3HardenedWinReSpawn: NtSetInformationThread/ThreadHideFromDebugger failed: %#x (harmless)\n", rcNt);
    40394039#endif
    40404040
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