Changeset 443
- Timestamp:
- Oct 27, 2013, 9:13:08 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r441 r443 2064 2064 [ 2065 2065 if test "x${enable_khide}" != xno; then 2066 2067 kernel_testsupport=`uname -r | sed s,^3.*,LINUX3,` 2068 if test "x${kernel_testsupport}" = "xLINUX3"; then 2069 AC_MSG_ERROR([The --enable-khide option is not supported on Linux kernel version 3.x or above.]) 2070 fi 2071 2066 2072 if test "x${enableval}" != "xyes"; then 2067 2073 khidemap="${enableval}" -
trunk/docs/Changelog
r442 r443 1 * Drop support for --enable-khide on kernel version 3.x and above 1 2 * Fix IgnoreAdded to anchor regex at beginning of path (reported by 2 3 R.Lindner) -
trunk/src/samhain_erase.c
r1 r443 71 71 /* The configure options (#defines) for the Kernel 72 72 */ 73 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) 74 75 #if SH_KERNEL_NUMERIC >= KERNEL_VERSION(2,6,33) 76 #include <generated/autoconf.h> 77 #else 78 #if SH_KERNEL_NUMERIC >= KERNEL_VERSION(2,6,19) 79 #include <linux/autoconf.h> 80 #else 73 81 #include <linux/config.h> 74 75 82 #ifdef CONFIG_MODVERSIONS 76 83 #include <linux/modversions.h> 84 #endif 85 #endif 77 86 #endif 78 87 -
trunk/src/samhain_hide.c
r331 r443 101 101 102 102 #ifndef LINUX26 103 #ifndef __KERNEL__ 103 104 #define __KERNEL__ 105 #endif 106 #ifndef MODULE 104 107 #define MODULE 108 #endif 105 109 #endif 106 110 #define LINUX … … 137 141 #endif 138 142 139 #if ndef LINUX26143 #if SH_KERNEL_NUMERIC < KERNEL_VERSION(2,6,0) 140 144 #ifdef CONFIG_MODVERSIONS 141 145 #include <linux/modversions.h> 142 146 #endif 143 #endif 144 147 #else 148 #ifndef LINUX26 149 #define LINUX26 150 #endif 151 #endif 145 152 146 153 #ifdef LINUX26 … … 179 186 /* Include for lock_kernel(). 180 187 */ 188 #if SH_KERNEL_NUMERIC < KERNEL_VERSION(3,0,0) 181 189 #include <linux/smp_lock.h> 190 #else 191 static inline void lock_kernel(void) { } 192 static inline void unlock_kernel(void) { } 193 #endif 182 194 183 195 #if SH_KERNEL_NUMERIC >= SH_KERNEL_MIN
Note:
See TracChangeset
for help on using the changeset viewer.