Changeset 91
- Timestamp:
- Feb 17, 2007, 9:47:38 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r90 r91 1744 1744 # -- NEW -- 1745 1745 kernel_version=`uname -r | sed s,2.6.*,LINUX26,` 1746 kernel_numeric=`uname -r | sed 's%-%.% ' | sed 's%_%.%' | awk -F. '{ print $1*100000+$2*1000+$3 }'`1746 kernel_numeric=`uname -r | sed 's%-%.%g' | sed 's%_%.%g' | awk -F. '{ print $1*65536+$2*256+$3 }'` 1747 1747 AC_DEFINE_UNQUOTED(SH_KERNEL_NUMERIC, ${kernel_numeric}, [Kernel number]) 1748 1748 -
trunk/docs/FAQ.html
r61 r91 31 31 div.warnblock { 32 32 background: #b6c5f2; color: #000; 33 background: #ffffcc; color: #000; 33 34 margin: 1em; padding: 0 1em 0 1em; 34 35 border-width: 1px; … … 129 130 <br><center><h2>Rainer Wichmann</h2></center> 130 131 <hr> 131 <p><i>FAQ Revised: Monday 11 September 2006 22:18:54</i></p> 132 <div class="warnblock"> 133 <ul> 134 <li>If you encounter problems after installing samhain, disable daemon 135 mode and run it in the foreground with 136 <tt>samhain --foreground [more options]</tt> for debugging.</li> 137 <li>If you have problems getting client/server mode to work, please check 138 the <a href="http://www.la-samhna.de/samhain/HOWTO-client+server-troubleshooting.html">HOWTO client+server troubleshooting</a> document.</li> 139 </ul> 140 </div> 141 <p><i>FAQ Revised: Monday 12 February 2007 23:06:43</i></p> 132 142 <hr><h2>Table of Contents</h2> 133 143 <dl> -
trunk/docs/HOWTO-client+server-troubleshooting.html
r89 r91 139 139 stop the server, then run it in the foreground with 140 140 <tt>yule -p info --foreground</tt></li> 141 </ul> 141 142 </div> 142 143 <p> -
trunk/src/samhain_hide.c
r90 r91 119 119 /* The configure options (#defines) for the Kernel 120 120 */ 121 #if SH_KERNEL_NUMERIC >= 206019 121 /* 2.6.19 (((2) << 16) + ((6) << 8) + (19)) */ 122 #define SH_KERNEL_MIN 132627 123 124 #if SH_KERNEL_NUMERIC >= SH_KERNEL_MIN 122 125 #include <linux/autoconf.h> 123 126 #else … … 169 172 #include <linux/smp_lock.h> 170 173 171 #if SH_KERNEL_NUMERIC >= 206019174 #if SH_KERNEL_NUMERIC >= SH_KERNEL_MIN 172 175 #include <linux/mutex.h> 173 176 #endif … … 783 786 spinlock_t * modlist_lock = (spinlock_t * ) SH_MODLIST_LOCK; 784 787 #endif 785 #if SH_KERNEL_NUMERIC >= 206019788 #if SH_KERNEL_NUMERIC >= SH_KERNEL_MIN 786 789 struct mutex * module_mutex = (struct mutex *) SH_MODLIST_MUTEX; 787 790 #endif … … 789 792 struct module *mod; 790 793 791 #if SH_KERNEL_NUMERIC >= 206019794 #if SH_KERNEL_NUMERIC >= SH_KERNEL_MIN 792 795 mutex_lock(module_mutex); 793 796 #endif … … 807 810 #endif 808 811 } 809 #if SH_KERNEL_NUMERIC >= 206019812 #if SH_KERNEL_NUMERIC >= SH_KERNEL_MIN 810 813 mutex_unlock(module_mutex); 811 814 #endif -
trunk/test/testcompile.sh
r75 r91 45 45 46 46 if [ "x$3" = "xdebug" ]; then memcheck=debug; else memcheck=simple; fi 47 if [ -f ../ sm_scripts/smatch.pm ]; then47 if [ -f ../../static/sm_scripts/smatch.pm ]; then 48 48 ( 49 cd ../ sm_scripts;49 cd ../../static/sm_scripts; 50 50 51 51 for i in ${CDIR}/*.c.sm ; do
Note:
See TracChangeset
for help on using the changeset viewer.