Changeset 25 for trunk/include
- Timestamp:
- Mar 14, 2006, 10:27:38 PM (19 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/samhain.h
r22 r25 301 301 int safe_fatal (int signal, int method, char * details, char *f, int l); 302 302 303 #define SH_VAL _EQ(a,b) \303 #define SH_VALIDATE_EQ(a,b) \ 304 304 do { \ 305 305 if ((a) != (b)) safe_fatal(0, 0, #a " != " #b, FIL__, __LINE__);\ 306 306 } while (0) 307 307 308 #define SH_VALIDATE_NE(a,b) \ 309 do { \ 310 if ((a) == (b)) safe_fatal(0, 0, #a " == " #b, FIL__, __LINE__);\ 311 } while (0) 308 312 309 313 #if defined(HAVE_MLOCK) && !defined(HAVE_BROKEN_MLOCK) -
trunk/include/sh_unix.h
r22 r25 141 141 int sh_unix_munlock(void * addr, size_t len); 142 142 int sh_unix_count_mlock(); 143 /* public for unit tests */ 144 int sh_unix_pagesize(); 145 unsigned long sh_unix_lookup_page(void * in_addr, size_t len, int * num_pages); 143 146 144 147 /* chroot directory
Note:
See TracChangeset
for help on using the changeset viewer.