Changeset 33739 in vbox
- Timestamp:
- Nov 3, 2010 5:23:46 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/err.h
r33701 r33739 1360 1360 /** The specified path is too long (hardening). */ 1361 1361 #define VERR_SUPLIB_PATH_TOO_LONG (-3752) 1362 /** The specified path is too short (hardening). */ 1363 #define VERR_SUPLIB_PATH_TOO_SHORT (-3753) 1364 /** The specified path has too many components (hardening). */ 1365 #define VERR_SUPLIB_PATH_TOO_MANY_COMPONENTS (-3754) 1362 1366 /** The specified path is a root path (hardening). */ 1363 #define VERR_SUPLIB_PATH_IS_ROOT (-375 3)1367 #define VERR_SUPLIB_PATH_IS_ROOT (-3755) 1364 1368 /** Failed to enumerate directory (hardening). */ 1365 #define VERR_SUPLIB_DIR_ENUM_FAILED (-375 4)1369 #define VERR_SUPLIB_DIR_ENUM_FAILED (-3756) 1366 1370 /** Failed to stat a file/dir during enumeration (hardening). */ 1367 #define VERR_SUPLIB_STAT_ENUM_FAILED (-375 5)1371 #define VERR_SUPLIB_STAT_ENUM_FAILED (-3757) 1368 1372 /** Failed to stat a file/dir (hardening). */ 1369 #define VERR_SUPLIB_STAT_FAILED (-3756) 1373 #define VERR_SUPLIB_STAT_FAILED (-3758) 1374 /** Failed to fstat a native handle (hardening). */ 1375 #define VERR_SUPLIB_FSTAT_FAILED (-3759) 1370 1376 /** Found an illegal symbolic link (hardening). */ 1371 #define VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED (-37 57)1377 #define VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED (-3760) 1372 1378 /** Found something which isn't a file nor a directory (hardening). */ 1373 #define VERR_SUPLIB_NOT_DIR_NOT_FILE (-3758) 1379 #define VERR_SUPLIB_NOT_DIR_NOT_FILE (-3761) 1380 /** The specified path is a directory and not a file (hardening). */ 1381 #define VERR_SUPLIB_IS_DIRECTORY (-3762) 1382 /** The specified path is a file and not a directory (hardening). */ 1383 #define VERR_SUPLIB_IS_FILE (-3763) 1384 /** The path is not the same object as the native handle (hardening). */ 1385 #define VERR_SUPLIB_NOT_SAME_OBJECT (-3764) 1386 /** The owner is not root (hardening). */ 1387 #define VERR_SUPLIB_OWNER_NOT_ROOT (-3765) 1388 /** The group is a non-system group and it has write access (hardening). */ 1389 #define VERR_SUPLIB_WRITE_NON_SYS_GROUP (-3766) 1390 /** The file or directory is world writable (hardening). */ 1391 #define VERR_SUPLIB_WORLD_WRITABLE (-3767) 1374 1392 /** @} */ 1375 1393 -
trunk/include/VBox/sup.h
r33623 r33739 985 985 * @param pszDirPath The directory path. 986 986 * @param fRecursive Whether the check should be recursive or 987 * not. When set, all sub-directores will be 988 * checked.987 * not. When set, all sub-directores will be checked, 988 * including files (@a fCheckFiles is ignored). 989 989 * @param fCheckFiles Whether to apply the same basic integrity check to 990 990 * the files in the directory as the directory itself. -
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp
r33738 r33739 67 67 #include <VBox/err.h> 68 68 #include <iprt/asm.h> 69 #include <iprt/ string.h>69 #include <iprt/ctype.h> 70 70 #include <iprt/param.h> 71 71 #include <iprt/path.h> 72 #include <iprt/string.h> 72 73 73 74 #include "SUPLibInternal.h"
Note:
See TracChangeset
for help on using the changeset viewer.