- Timestamp:
- May 1, 2012, 5:50:32 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r401 r402 12 12 dnl start 13 13 dnl 14 AM_INIT_AUTOMAKE(samhain, 3.0. 3)14 AM_INIT_AUTOMAKE(samhain, 3.0.4) 15 15 AC_DEFINE([SAMHAIN], 1, [Application is samhain]) 16 16 AC_CANONICAL_HOST -
trunk/docs/Changelog
r400 r402 1 3.0.3: 1 3.0.4: 2 * fix verbosity of message for alerts on already deleted watches 3 (set it to debug - suggested by xrx) 4 * fix extraneous error messages about file not found from 5 sh_fInotify_init_internal() (bug reports by xrx and aj) 6 7 3.0.3 (28-03-2012): 2 8 * fix potential deadlock in sh_ext_popen() 3 9 * make sure sh_processes_readps cannot hang forever … … 10 16 * fixed lacking support for O_NOATIME on 64bit linux 11 17 12 3.0.2a :18 3.0.2a (23-02-2012): 13 19 * Fix compile error on Solaris 10 14 20 15 3.0.2 :21 3.0.2 (16-02-2012): 16 22 * change sql init scripts to make bigint fields unsigned (problem 17 23 reported by A. Sabitov) -
trunk/src/sh_fInotify.c
r382 r402 363 363 if ((errnum == ENOENT) || (errnum == EEXIST)) 364 364 { 365 char * epath = sh_util_safe_name (filename); 366 SH_MUTEX_LOCK(mutex_thread_nolog); 367 sh_error_handle( (class == SH_LEVEL_ALLIGNORE) ? 368 ShDFLevel[class] : 369 ShDFLevel[SH_ERR_T_FILE], 370 FIL__, __LINE__, errnum, MSG_E_SUBGPATH, 371 errbuf, _("sh_fInotify_init_internal"), epath); 372 SH_MUTEX_UNLOCK(mutex_thread_nolog); 373 SH_FREE(epath); 365 /* (1) Did it exist at init ? 366 */ 367 if (sh_hash_have_it (filename) >= 0) 368 { 369 /* (2) Do we want to report on it ? 370 */ 371 if (S_FALSE == sh_ignore_chk_del(filename)) 372 { 373 char * epath = sh_util_safe_name (filename); 374 375 SH_MUTEX_LOCK(mutex_thread_nolog); 376 sh_error_handle( (class == SH_LEVEL_ALLIGNORE) ? 377 ShDFLevel[class] : 378 ShDFLevel[SH_ERR_T_FILE], 379 FIL__, __LINE__, errnum, MSG_E_SUBGPATH, 380 errbuf, _("sh_fInotify_init_internal"), epath); 381 SH_MUTEX_UNLOCK(mutex_thread_nolog); 382 SH_FREE(epath); 383 } 384 } 374 385 } 375 386 else … … 457 468 458 469 SH_MUTEX_LOCK(mutex_thread_nolog); 459 sh_error_handle( (-1), FIL__, __LINE__, event->wd, MSG_E_SUBGEN,470 sh_error_handle(SH_ERR_ALL, FIL__, __LINE__, event->wd, MSG_E_SUBGEN, 460 471 _("Watch removed: file path unknown"), 461 472 _("sh_fInotify_process")); -
trunk/src/sh_files.c
r397 r402 451 451 CLEAR_SH_FFLAG_REPORTED(ptr->is_reported); 452 452 } 453 453 454 /* Catchall 454 455 */ -
trunk/src/sh_hash.c
r383 r402 1239 1239 sh_do_decode(ft.checksum, sl_strlen(ft.checksum)); 1240 1240 1241 1241 /* TXT entries are c_mode[0] != 'l' and do not get decoded 1242 */ 1242 1243 if (ft.c_mode[0] == 'l' && linkpath != notalink) 1243 1244 { 1244 1245 sh_do_decode(linkpath, sl_strlen(linkpath)); 1245 1246 } 1247 1246 1248 if ((ft.mark & REC_FLAGS_ATTR) != 0) 1247 1249 { … … 1772 1774 } 1773 1775 1776 /* NOTE: TXT entries are c_mode[0] != 'l' and do not get decoded 1777 */ 1774 1778 if (buf != NULL /* && buf->c_mode[0] == 'l' */ && buf->link_path != NULL) 1775 1779 { -
trunk/src/sh_unix.c
r383 r402 4252 4252 SH_FREE(linknamebuf); 4253 4253 } 4254 else /* not a link */4254 else /* not a link, theFile->c_mode[0] != 'l' */ 4255 4255 { 4256 4256 if (content)
Note:
See TracChangeset
for help on using the changeset viewer.