Changeset 68793 in vbox for trunk/src/VBox/Additions/common/VBoxGuest/lib
- Timestamp:
- Sep 19, 2017 3:46:36 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibIdc-solaris.cpp
r68645 r68793 41 41 ldi_handle_t hDev = NULL; 42 42 ldi_ident_t hIdent = ldi_ident_from_anon(); 43 /* Note! ldi_open_by_name actually opens the device and ends up creating a useless user session. 44 Wonder if there is any way to detect ldi_open_by_name and do I/O controls via hDev... */ 43 45 int rc = ldi_open_by_name(VBOXGUEST_DEVICE_NAME, FREAD, kcred, &hDev, hIdent); 44 46 ldi_ident_release(hIdent); 45 47 if (rc == 0) 46 48 { 47 rc = VBoxGuestIDC(NULL, VBGL_IOCTL_IDC_ DISCONNECT, &pReq->Hdr, sizeof(*pReq));49 rc = VBoxGuestIDC(NULL, VBGL_IOCTL_IDC_CONNECT, &pReq->Hdr, sizeof(*pReq)); 48 50 if (RT_SUCCESS(rc) && RT_SUCCESS(pReq->Hdr.rc)) 49 51 {
Note:
See TracChangeset
for help on using the changeset viewer.