From: Benjamin Bennett Date: Thu, 3 Jul 2008 21:33:25 +0000 (+0000) Subject: STABLE14-linux-probe-syscall-table-again-20080703 X-Git-Tag: openafs-stable-1_4_8pre1~52 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=71d8d2524581591d7eb8dfcbdda774f81226179c;p=packages%2Fo%2Fopenafs.git STABLE14-linux-probe-syscall-table-again-20080703 LICENSE IPL10 FIXES 105457 move the init_mm ifdef down far enough that it's effective and we actually probe to be able to hook syscall table (cherry picked from commit a4e3fb21f0fd8f02ffd2c01b4d39ac55cd3474b1) --- diff --git a/src/afs/LINUX/osi_probe.c b/src/afs/LINUX/osi_probe.c index e1a0aaa1f..f661e9ea3 100644 --- a/src/afs/LINUX/osi_probe.c +++ b/src/afs/LINUX/osi_probe.c @@ -45,7 +45,6 @@ /* Code to find the Linux syscall table */ -#if defined(EXPORTED_INIT_MM) #ifdef OSI_PROBE_STANDALONE #define OSI_PROBE_DEBUG #endif @@ -53,6 +52,7 @@ #include #include "afs/param.h" #endif +#if defined(EXPORTED_INIT_MM) #ifdef AFS_LINUX24_ENV #include /* early to avoid printf->printk mapping */ #ifndef OSI_PROBE_STANDALONE