Searched refs:cchLink (Results 1 - 7 of 7) sorted by relevance
/vbox/src/VBox/Runtime/r3/linux/ |
H A D | rtProcInitExePath-linux.cpp | 47 int cchLink = readlink("/proc/self/exe", pszPath, cchPath - 1); local 48 if (cchLink > 0 && (size_t)cchLink <= cchPath - 1) 50 pszPath[cchLink] = '\0'; 54 AssertMsgRCReturn(rc, ("rc=%Rrc pszLink=\"%s\"\nhex: %.*Rhxs\n", rc, pszPath, cchLink, pszPath), rc); 65 AssertMsgFailed(("rc=%Rrc err=%d cchLink=%d\n", rc, err, cchLink));
|
H A D | RTProcIsRunningByName-linux.cpp | 78 int cchLink = readlink(szName, szExe, sizeof(szExe) - 1); local 79 if ( cchLink > 0 80 && (size_t)cchLink < sizeof(szExe)) 82 szExe[cchLink] = '\0';
|
/vbox/src/VBox/Runtime/r3/solaris/ |
H A D | rtProcInitExePath-solaris.cpp | 49 int cchLink = readlink(szProcFile, pszPath, cchPath - 1); local 50 if (cchLink > 0 && (size_t)cchLink <= cchPath - 1) 52 pszPath[cchLink] = '\0'; 56 AssertMsgRCReturn(rc, ("rc=%Rrc pszLink=\"%s\"\nhex: %.*Rhxs\n", rc, pszPath, cchLink, pszPath), rc); 67 AssertMsgFailed(("rc=%Rrc err=%d cchLink=%d\n", rc, err, cchLink));
|
/vbox/src/VBox/Runtime/r3/freebsd/ |
H A D | rtProcInitExePath-freebsd.cpp | 78 int cchLink = readlink("/proc/curproc/file", pszPath, cchPath - 1); 79 if (cchLink > 0 && (size_t)cchLink <= cchPath - 1) 81 pszPath[cchLink] = '\0'; 85 AssertMsgRCReturn(rc, ("rc=%Rrc pszLink=\"%s\"\nhex: %.*Rhxs\n", rc, pszPath, cchLink, pszPath), rc); 124 AssertMsgFailed(("rc=%Rrc err=%d cchLink=%d hExe=%p\n", rc, err, cchLink, hExe));
|
/vbox/src/libs/xpcom18a4/xpcom/glue/standalone/ |
H A D | nsGREDirServiceProvider.cpp | 218 int cchLink = readlink("/proc/self/exe", buf, sizeof(buf) - 1); 219 if (cchLink > 0 || cchLink != sizeof(buf) - 1) 221 buf[cchLink] = '\0';
|
/vbox/src/VBox/HostDrivers/Support/ |
H A D | SUPR3HardenedMain.cpp | 865 int cchLink = readlink("/proc/self/exe", &g_szSupLibHardenedExePath[0], sizeof(g_szSupLibHardenedExePath) - 1); local 870 int cchLink = readlink(szFileBuf, &g_szSupLibHardenedExePath[0], sizeof(g_szSupLibHardenedExePath) - 1); 883 int cchLink = suplibHardenedStrLen(g_szSupLibHardenedExePath); /* paranoid? can't we use cbPath? */ 886 if (cchLink < 0 || cchLink == sizeof(g_szSupLibHardenedExePath) - 1) 887 supR3HardenedFatal("supR3HardenedExecDir: couldn't read \"%s\", errno=%d cchLink=%d\n", 888 g_szSupLibHardenedExePath, errno, cchLink); 889 g_szSupLibHardenedExePath[cchLink] = '\0'; 932 int cchLink = readlink("/proc/self/exe", szPath, sizeof(szPath)); local 933 return cchLink ! [all...] |
/vbox/src/libs/xpcom18a4/xpcom/io/ |
H A D | nsDirectoryService.cpp | 285 int cchLink = readlink("/proc/self/exe", buf, sizeof(buf) - 1); 286 if (cchLink > 0 || cchLink != sizeof(buf) - 1) 288 buf[cchLink] = '\0';
|
Completed in 598 milliseconds