Changeset 19 for trunk/include
- Timestamp:
- Feb 12, 2006, 10:49:56 PM (19 years ago)
- Location:
- trunk/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/samhain.h
r18 r19 292 292 if ((skey != NULL) && skey->mlock_failed == SL_FALSE){ \ 293 293 (void) sl_set_suid(); \ 294 if (sh_unix_mlock( a, b) < 0) skey->mlock_failed = SL_TRUE; \294 if (sh_unix_mlock(FIL__, __LINE__, a, b) < 0) skey->mlock_failed = SL_TRUE; \ 295 295 (void) sl_unset_suid(); } 296 296 #else -
trunk/include/sh_tiger.h
r1 r19 18 18 */ 19 19 /*@owned@*/ char * sh_tiger_hash (char * filename, TigerType what, 20 unsigned longLength);20 UINT64 Length); 21 21 22 22 /* NEW Thu Oct 18 19:59:08 CEST 2001 … … 24 24 int sh_tiger_hashtype (char * c); 25 25 char * sh_tiger_generic_hash (char * filename, TigerType what, 26 unsigned longLength, int timeout);26 UINT64 Length, int timeout); 27 27 28 28 UINT32 * sh_tiger_hash_uint32 (char * filename, 29 29 TigerType what, 30 unsigned longLength);30 UINT64 Length); 31 31 32 32 /* get the type of hash function used … … 38 38 */ 39 39 /*@owned@*/ char * sh_tiger_hash_gpg (char * filename, TigerType what, 40 unsigned longLength);40 UINT64 Length); 41 41 #endif -
trunk/include/sh_unix.h
r10 r19 79 79 /* device num */ 80 80 #define MODI_RDEV (1 << 11) 81 /* size may grow */ 82 #define MODI_SGROW (1 << 12) 83 /* use prelink */ 84 #define MODI_PREL (1 << 13) 81 85 82 86 #define MASK_ALLIGNORE_ 0 … … 86 90 #define MASK_LOGFILES_ (MASK_ATTRIBUTES_|MODI_HLN|MODI_LNK|MODI_INO) 87 91 extern unsigned long mask_LOGFILES; 88 #define MASK_LOGGROW_ (MASK_LOGFILES_|MODI_SIZ )92 #define MASK_LOGGROW_ (MASK_LOGFILES_|MODI_SIZ|MODI_SGROW|MODI_CHK) 89 93 extern unsigned long mask_LOGGROW; 90 94 #define MASK_READONLY_ (MASK_LOGFILES_|MODI_CHK|MODI_SIZ|MODI_MTM|MODI_CTM) … … 95 99 extern unsigned long mask_USER0; 96 100 extern unsigned long mask_USER1; 97 /* like READONLY, but without MTM,CTM,SIZ,INO )98 */ 99 #define MASK_PRELINK_ (MASK_ATTRIBUTES_|MODI_HLN|MODI_LNK|MODI_CHK )101 /* like READONLY, but without MTM,CTM,SIZ,INO, abd with PREL) 102 */ 103 #define MASK_PRELINK_ (MASK_ATTRIBUTES_|MODI_HLN|MODI_LNK|MODI_CHK|MODI_PREL) 100 104 extern unsigned long mask_PRELINK; 101 105 … … 134 138 /* mlock utilities 135 139 */ 136 int sh_unix_mlock( void * addr, size_t len);140 int sh_unix_mlock(char * file, int line, void * addr, size_t len); 137 141 int sh_unix_munlock(void * addr, size_t len); 138 142 int sh_unix_count_mlock();
Note:
See TracChangeset
for help on using the changeset viewer.