Changeset 405 for trunk/include


Ignore:
Timestamp:
Aug 21, 2012, 7:12:10 PM (12 years ago)
Author:
katerina
Message:

Fix for tickets #303, #304, #305. #306, and #307. Update version number.

Location:
trunk/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/samhain.h

    r373 r405  
    268268  unsigned long   dirs_checked;  /* #dirs     last check */
    269269  unsigned long   files_checked; /* #files    last check */
     270  unsigned long   files_report;  /* #file reports        */
     271  unsigned long   files_error;   /* #file access error   */
     272  unsigned long   files_nodir;   /* #file not a directory*/
    270273} sh_sh_stat;
    271274
  • trunk/include/sh_error.h

    r283 r405  
    187187void sh_error_logrestore(void);
    188188
     189/* short errfile
     190 */
     191void sh_efile_report();
     192int sh_efile_path(const char * str);
     193
    189194/* (re)set the console device(s)
    190195 */
  • trunk/include/sh_unix.h

    r381 r405  
    400400#endif
    401401
    402 #if defined(__linux__) && defined(__GNUC__) && defined(__i386__)
    403   __asm__ __volatile__ (".byte 0xf1");
    404 #else
     402  /* raise() sends to same thread, like pthread_kill(pthread_self(), sig);
     403   */
    405404  raise(SIGTRAP);
    406 #endif
    407405 
    408406  if (sh_not_traced == 0)
    409407    _exit(5);
     408
    410409  sh_not_traced = 0;
    411410  return (0);
Note: See TracChangeset for help on using the changeset viewer.