Changeset 33623 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Oct 29, 2010 4:16:06 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67234
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
r33595 r33623 1438 1438 1439 1439 1440 SUPR3DECL(int) SUPR3HardenedVerifyDir(const char *pszDirPath, bool fRecursive, bool fCheckFiles, char *pszErr, size_t cbErr) 1441 { 1442 /* 1443 * Quick input validation 1444 */ 1445 AssertPtr(pszDirPath); 1446 AssertPtr(pszErr); 1447 Assert(cbErr > 32); 1448 1449 /* 1450 * Only do the actual check in hardened builds. 1451 */ 1452 #ifdef VBOX_WITH_HARDENING 1453 /** @todo implement me! */ 1454 return VINF_SUCCESS; 1455 #else 1456 return VINF_SUCCESS; 1457 #endif 1458 } 1459 1460 1461 SUPR3DECL(int) SUPR3HardenedVerifyPlugIn(const char *pszFilename, char *pszErr, size_t cbErr) 1462 { 1463 /* 1464 * Quick input validation 1465 */ 1466 AssertPtr(pszFilename); 1467 AssertPtr(pszErr); 1468 Assert(cbErr > 32); 1469 1470 /* 1471 * Only do the actual check in hardened builds. 1472 */ 1473 #ifdef VBOX_WITH_HARDENING 1474 /** @todo implement me! */ 1475 return VINF_SUCCESS; 1476 #else 1477 return VINF_SUCCESS; 1478 #endif 1479 } 1480 1481 1440 1482 SUPR3DECL(int) SUPR3LoadModule(const char *pszFilename, const char *pszModule, void **ppvImageBase) 1441 1483 {
Note:
See TracChangeset
for help on using the changeset viewer.