Index: trunk/include/samhain.h
===================================================================
--- trunk/include/samhain.h	(revision 383)
+++ trunk/include/samhain.h	(revision 405)
@@ -268,4 +268,7 @@
   unsigned long   dirs_checked;  /* #dirs     last check */
   unsigned long   files_checked; /* #files    last check */
+  unsigned long   files_report;  /* #file reports        */
+  unsigned long   files_error;   /* #file access error   */
+  unsigned long   files_nodir;   /* #file not a directory*/
 } sh_sh_stat;
 
Index: trunk/include/sh_error.h
===================================================================
--- trunk/include/sh_error.h	(revision 383)
+++ trunk/include/sh_error.h	(revision 405)
@@ -187,4 +187,9 @@
 void sh_error_logrestore(void);
 
+/* short errfile
+ */
+void sh_efile_report();
+int sh_efile_path(const char * str);
+
 /* (re)set the console device(s)
  */
Index: trunk/include/sh_unix.h
===================================================================
--- trunk/include/sh_unix.h	(revision 383)
+++ trunk/include/sh_unix.h	(revision 405)
@@ -400,12 +400,11 @@
 #endif
 
-#if defined(__linux__) && defined(__GNUC__) && defined(__i386__)
-  __asm__ __volatile__ (".byte 0xf1");
-#else
+  /* raise() sends to same thread, like pthread_kill(pthread_self(), sig); 
+   */
   raise(SIGTRAP);
-#endif
   
   if (sh_not_traced == 0)
     _exit(5);
+
   sh_not_traced = 0;
   return (0);
