Changeset 10377 in vbox for trunk/src/VBox/HostDrivers/Support/solaris
- Timestamp:
- Jul 8, 2008 4:26:13 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 33025
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c
r10263 r10377 420 420 * Create a new session. 421 421 */ 422 rc = supdrvCreateSession(&g_DevExt, &pSession);422 rc = supdrvCreateSession(&g_DevExt, true /* fUser */, &pSession); 423 423 if (RT_SUCCESS(rc)) 424 424 { 425 pSession->Uid = crgetuid(pCred); 426 pSession->Gid = crgetgid(pCred); 427 425 428 pState->pSession = pSession; 426 429 *pDev = makedevice(getmajor(*pDev), iOpenInstance); … … 440 443 * in VBoxDrvSolarisIOCtlSlow() while calling supdrvIOCtl() 441 444 */ 442 rc = supdrvCreateSession(&g_DevExt, &pSession);445 rc = supdrvCreateSession(&g_DevExt, true /* fUser */, &pSession); 443 446 if (RT_SUCCESS(rc)) 444 447 { … … 446 449 unsigned iHash; 447 450 448 pSession->Uid = crgetuid(pCred); 449 pSession->Gid = crgetgid(pCred); 450 pSession->Process = RTProcSelf(); 451 pSession->R0Process = RTR0ProcHandleSelf(); 451 pSession->Uid = crgetuid(pCred); 452 pSession->Gid = crgetgid(pCred); 452 453 453 454 /*
Note:
See TracChangeset
for help on using the changeset viewer.