Changeset 91 for trunk/src/samhain_hide.c
- Timestamp:
- Feb 17, 2007, 9:47:38 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.