Searched defs:fUnrestricted (Results 1 - 14 of 14) sorted by relevance

/vbox/src/VBox/HostDrivers/Support/freebsd/
H A DSUPLib-freebsd.cpp70 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 DSUPDrv-freebsd.c230 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 DSUPLib-darwin.cpp78 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 DSUPDrv-darwin.cpp482 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 DSUPLib-linux.cpp77 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 DSUPDrv-linux.c515 * @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 DSUPLib-os2.cpp68 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 DSUPDrv-solaris.c469 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 DSUPLib-solaris.cpp80 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 DSUPLib-win.cpp112 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 DSUPLibInternal.h252 bool fUnrestricted; member in struct:SUPLIBDATA
355 int suplibOsInit(PSUPLIBDATA pThis, bool fPreInited, bool fUnrestricted, SUPINITOP *penmWhat, PRTERRINFO pErrInfo);
H A DSUPDrv.cpp700 * @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 DSUPDrvInternal.h486 bool fUnrestricted; member in struct:SUPDRVSESSION
937 int VBOXCALL supdrvCreateSession(PSUPDRVDEVEXT pDevExt, bool fUser, bool fUnrestricted, PSUPDRVSESSION *ppSession);
H A DSUPLib.cpp101 /*.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)

Completed in 110 milliseconds