From 71d8d2524581591d7eb8dfcbdda774f81226179c Mon Sep 17 00:00:00 2001 From: Benjamin Bennett Date: Thu, 3 Jul 2008 21:33:25 +0000 Subject: [PATCH] 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) --- src/afs/LINUX/osi_probe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5