VirtualBox

Ignore:
Timestamp:
Sep 19, 2017 3:46:36 PM (7 years ago)
Author:
vboxsync
Message:

VBoxGuest/solaris: fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibIdc-solaris.cpp

    r68645 r68793  
    4141    ldi_handle_t hDev   = NULL;
    4242    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... */
    4345    int rc = ldi_open_by_name(VBOXGUEST_DEVICE_NAME, FREAD, kcred, &hDev, hIdent);
    4446    ldi_ident_release(hIdent);
    4547    if (rc == 0)
    4648    {
    47         rc = VBoxGuestIDC(NULL, VBGL_IOCTL_IDC_DISCONNECT, &pReq->Hdr, sizeof(*pReq));
     49        rc = VBoxGuestIDC(NULL, VBGL_IOCTL_IDC_CONNECT, &pReq->Hdr, sizeof(*pReq));
    4850        if (RT_SUCCESS(rc) && RT_SUCCESS(pReq->Hdr.rc))
    4951        {
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