Changeset 44995 in vbox for trunk/src/VBox/Additions/common/VBoxGuest
- Timestamp:
- Mar 11, 2013 4:36:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
r44992 r44995 828 828 * Internal Device I/O Control entry point. 829 829 * 830 * We do not want to allow some IOCTLs to be originated from user mode, this is831 * why we have a different entry point for internal IOCTLs.832 *833 830 * @param pDevObj Device object. 834 831 * @param pIrp Request packet. 835 *836 * @todo r=bird: This is no need for this extra function for the purpose of837 * securing an IOCTL from user space access. VBoxGuestCommonIOCtl838 * has a way to do this already, see VBOXGUEST_IOCTL_GETVMMDEVPORT.839 832 */ 840 833 static NTSTATUS vbgdNtInternalIOCtl(PDEVICE_OBJECT pDevObj, PIRP pIrp) … … 847 840 unsigned Info = 0; 848 841 842 /* 843 * Override common behavior of some operations. 844 */ 845 /** @todo r=bird: Better to add dedicated worker functions for this! */ 849 846 switch (uCmd) 850 847 { … … 876 873 break; 877 874 } 878 879 880 875 if (fProcessed) 881 876 { … … 887 882 } 888 883 884 /* 885 * No override, go to common code. 886 */ 889 887 return vbgdNtIOCtl(pDevObj, pIrp); 890 888 }
Note:
See TracChangeset
for help on using the changeset viewer.