| /vbox/src/VBox/HostDrivers/Support/freebsd/ |
| H A D | SUPLib-freebsd.cpp | 70 int suplibOsInit(PSUPLIBDATA pThis, bool fPreInited, bool fUnrestricted, SUPINITOP *penmWhat, PRTERRINFO pErrInfo) argument 81 int hDevice = open(fUnrestricted ? DEVICE_NAME_SYS : DEVICE_NAME_USR, O_RDWR, 0); 93 LogRel(("Failed to open \"%s\", errno=%d, rc=%Rrc\n", fUnrestricted ? DEVICE_NAME_SYS : DEVICE_NAME_USR, errno, rc)); 117 pThis->fUnrestricted = fUnrestricted;
|
| H A D | SUPDrv-freebsd.c | 230 static int vboxdrvFreeBSDOpenCommon(struct cdev *pDev, int fOpen, int iDevtype, struct thread *pTd, bool fUnrestricted) argument 247 rc = supdrvCreateSession(&g_VBoxDrvFreeBSDDevExt, true /* fUser */, fUnrestricted, &pSession); 320 && pSession->fUnrestricted == true)
|
| /vbox/src/VBox/HostDrivers/Support/darwin/ |
| H A D | SUPLib-darwin.cpp | 78 static int suplibDarwinOpenDevice(PSUPLIBDATA pThis, bool fUnrestricted) argument 85 int hDevice = open(fUnrestricted ? DEVICE_NAME_SYS : DEVICE_NAME_USR, O_RDWR, 0); 97 LogRel(("SUP: Failed to open \"%s\", errno=%d, rc=%Rrc\n", fUnrestricted ? DEVICE_NAME_SYS : DEVICE_NAME_USR, errno, rc)); 118 pThis->fUnrestricted = fUnrestricted; 188 int suplibOsInit(PSUPLIBDATA pThis, bool fPreInited, bool fUnrestricted, SUPINITOP *penmWhat, PRTERRINFO pErrInfo) argument 203 rc = suplibDarwinOpenDevice(pThis, fUnrestricted);
|
| H A D | SUPDrv-darwin.cpp | 482 const bool fUnrestricted = minor(Dev) == 0; local 506 pSession->fUnrestricted = fUnrestricted; 565 const bool fUnrestricted = minor(Dev) == 0; local 576 while (pSession && (pSession->Process != Process || pSession->fUnrestricted != fUnrestricted || !pSession->fOpened)) 598 && fUnrestricted) 1514 int rc = supdrvCreateSession(&g_DevExt, true /* fUser */, false /*fUnrestricted*/, &m_pSession); 1518 /* The Uid, Gid and fUnrestricted fields are set on open. */
|
| /vbox/src/VBox/HostDrivers/Support/linux/ |
| H A D | SUPLib-linux.cpp | 77 int suplibOsInit(PSUPLIBDATA pThis, bool fPreInited, bool fUnrestricted, SUPINITOP *penmWhat, PRTERRINFO pErrInfo) argument 98 const char *pszDeviceNm = fUnrestricted ? DEVICE_NAME_SYS : DEVICE_NAME_USR; 140 pThis->fUnrestricted = fUnrestricted;
|
| H A D | SUPDrv-linux.c | 515 * @param fUnrestricted Indicates which device node which was opened. 517 static int vboxdrvLinuxCreateCommon(struct inode *pInode, struct file *pFilp, bool fUnrestricted) argument 527 if ( fUnrestricted 538 rc = supdrvCreateSession(&g_DevExt, true /* fUser */, fUnrestricted, &pSession); 661 && pSession->fUnrestricted == true)) 675 && pSession->fUnrestricted == true))
|
| /vbox/src/VBox/HostDrivers/Support/os2/ |
| H A D | SUPLib-os2.cpp | 68 int suplibOsInit(PSUPLIBDATA pThis, bool fPreInited, bool fUnrestricted, SUPINITOP *penmWhat, PRTERRINFO pErrInfo) argument 103 pThis->fUnrestricted = true;
|
| /vbox/src/VBox/HostDrivers/Support/solaris/ |
| H A D | SUPDrv-solaris.c | 469 const bool fUnrestricted = getminor(*pDev) == 0; local 509 rc = supdrvCreateSession(&g_DevExt, true /* fUser */, fUnrestricted, &pSession); 531 rc = supdrvCreateSession(&g_DevExt, true /* fUser */, fUnrestricted, &pSession); 700 const bool fUnrestricted = getminor(Dev) == 0; 707 while (pSession && pSession->Process != Process && pSession->fUnrestricted == fUnrestricted); 725 && pSession->fUnrestricted)
|
| H A D | SUPLib-solaris.cpp | 80 int suplibOsInit(PSUPLIBDATA pThis, bool fPreInited, bool fUnrestricted, SUPINITOP *penmWhat, PRTERRINFO pErrInfo) argument 114 pszDeviceNm = fUnrestricted ? DEVICE_NAME_SYS : DEVICE_NAME_USR; 116 pszDeviceNm = fUnrestricted ? DEVICE_NAME_SYS_ZONE : DEVICE_NAME_USR_ZONE; 150 pThis->fUnrestricted = fUnrestricted;
|
| /vbox/src/VBox/HostDrivers/Support/win/ |
| H A D | SUPLib-win.cpp | 112 int suplibOsInit(PSUPLIBDATA pThis, bool fPreInited, bool fUnrestricted, SUPINITOP *penmWhat, PRTERRINFO pErrInfo) argument 151 NtName.Length = sizeof(s_wszName) - sizeof(WCHAR) * (fUnrestricted ? 2 : 1); 178 pThis->fUnrestricted = fUnrestricted;
|
| /vbox/src/VBox/HostDrivers/Support/ |
| H A D | SUPLibInternal.h | 252 bool fUnrestricted; member in struct:SUPLIBDATA 355 int suplibOsInit(PSUPLIBDATA pThis, bool fPreInited, bool fUnrestricted, SUPINITOP *penmWhat, PRTERRINFO pErrInfo);
|
| H A D | SUPDrv.cpp | 700 * @param fUnrestricted Unrestricted access (system) or restricted access 704 int VBOXCALL supdrvCreateSession(PSUPDRVDEVEXT pDevExt, bool fUser, bool fUnrestricted, PSUPDRVSESSION *ppSession) argument 730 pSession->fUnrestricted = fUnrestricted; 2396 if (pSession->fUnrestricted) 2501 pReq->Hdr.rc = supdrvCreateSession(pDevExt, false /* fUser */, true /*fUnrestricted*/, &pSession);
|
| H A D | SUPDrvInternal.h | 486 bool fUnrestricted; member in struct:SUPDRVSESSION 937 int VBOXCALL supdrvCreateSession(PSUPDRVDEVEXT pDevExt, bool fUser, bool fUnrestricted, PSUPDRVSESSION *ppSession);
|
| H A D | SUPLib.cpp | 101 /*.fUnrestricted = */ true 213 SUPR3DECL(int) SUPR3InitEx(bool fUnrestricted, PSUPDRVSESSION *ppSession) argument 233 if (fUnrestricted && !g_supLibData.fUnrestricted) 265 int rc = suplibOsInit(&g_supLibData, g_fPreInited, fUnrestricted, &enmWhat, NULL); 296 if (g_supLibData.fUnrestricted)
|