VirtualBox

Ignore:
Timestamp:
Jul 8, 2008 4:26:13 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33025
Message:

Implemented the IDC methods. Moved the setting of the R0Process and Process SUPDRVSESSION members to SUPDrv.c, and made SUPDrv.c provide default initialization of the Uid and Gid members.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp

    r10263 r10377  
    322322     * Create a new session.
    323323     */
    324     rc = supdrvCreateSession(&g_DevExt, &pSession);
     324    rc = supdrvCreateSession(&g_DevExt, true /* fUser */, &pSession);
    325325    if (RT_SUCCESS(rc))
    326326    {
     
    333333            pSession->Gid = pCred->cr_gid;
    334334        }
    335         pSession->Process = RTProcSelf();
    336         pSession->R0Process = RTR0ProcHandleSelf();
    337335
    338336        /*
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette