From a4e3fb21f0fd8f02ffd2c01b4d39ac55cd3474b1 Mon Sep 17 00:00:00 2001 From: Benjamin Bennett Date: Thu, 3 Jul 2008 21:32:49 +0000 Subject: [PATCH] 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 --- 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 e1a0aaa..f661e9e 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 -- 1.9.4