VirtualBox

Ignore:
Timestamp:
Mar 11, 2013 4:36:20 PM (12 years ago)
Author:
vboxsync
Message:

Another todo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp

    r44992 r44995  
    828828 * Internal Device I/O Control entry point.
    829829 *
    830  * We do not want to allow some IOCTLs to be originated from user mode, this is
    831  * why we have a different entry point for internal IOCTLs.
    832  *
    833830 * @param   pDevObj     Device object.
    834831 * @param   pIrp        Request packet.
    835  *
    836  * @todo r=bird: This is no need for this extra function for the purpose of
    837  *       securing an IOCTL from user space access.  VBoxGuestCommonIOCtl
    838  *       has a way to do this already, see VBOXGUEST_IOCTL_GETVMMDEVPORT.
    839832 */
    840833static NTSTATUS vbgdNtInternalIOCtl(PDEVICE_OBJECT pDevObj, PIRP pIrp)
     
    847840    unsigned            Info        = 0;
    848841
     842    /*
     843     * Override common behavior of some operations.
     844     */
     845    /** @todo r=bird: Better to add dedicated worker functions for this! */
    849846    switch (uCmd)
    850847    {
     
    876873            break;
    877874    }
    878 
    879 
    880875    if (fProcessed)
    881876    {
     
    887882    }
    888883
     884    /*
     885     * No override, go to common code.
     886     */
    889887    return vbgdNtIOCtl(pDevObj, pIrp);
    890888}
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