Changeset 10377 in vbox for trunk/src/VBox/HostDrivers/Support/freebsd
- 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/freebsd/SUPDrv-freebsd.c
r10263 r10377 301 301 * Create a new session. 302 302 */ 303 rc = supdrvCreateSession(&g_VBoxDrvFreeBSDDevExt, &pSession);303 rc = supdrvCreateSession(&g_VBoxDrvFreeBSDDevExt, true /* fUser */, &pSession); 304 304 if (RT_SUCCESS(rc)) 305 305 { 306 pSession->Uid = 0; 307 pSession->Gid = 0; 308 pSession->Process = RTProcSelf(); 309 pSession->R0Process = RTR0ProcHandleSelf(); 306 /** @todo get (e)uid and (e)gid. 307 pSession->Uid = stuff; 308 pSession->Gid = stuff; */ 310 309 if (ASMAtomicCmpXchgPtr(&pDev->si_drv1, pSession, (void *)0x42)) 311 310 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.