DEVEL15-linux-allow-disabling-syscall-probing-20090602

LICENSE IPL10

give a configure switch to allow disabling syscall probing


(cherry picked from commit 091139b3e2)
This commit is contained in:
Simon Wilkinson 2009-06-02 19:31:57 +00:00 committed by Derrick Brashear
parent 1aa2c06aa3
commit 027676ba87
2 changed files with 8 additions and 1 deletions

View File

@ -304,6 +304,13 @@ AC_ARG_ENABLE([optimize-pam],
enabled)])],
,
[enable_optimize_pam="yes"])
AC_ARG_ENABLE([linux-syscall-probing],
[AS_HELP_STRING([--disable-linux-syscall-probing],
[disabling Linux syscall probing (defaults to enabled)])],
,
[AC_DEFINE(ENABLE_LINUX_SYSCALL_PROBING, 1,
[define to enable syscall table probes])])
AC_ARG_WITH([xslt-processor],
AS_HELP_STRING([--with-xslt-processor=ARG],

View File

@ -52,7 +52,7 @@
#include <afsconfig.h>
#include "afs/param.h"
#endif
#if defined(EXPORTED_INIT_MM)
#if defined(ENABLE_LINUX_SYSCALL_PROBING) && defined(EXPORTED_INIT_MM)
#ifdef AFS_LINUX24_ENV
#include <linux/module.h> /* early to avoid printf->printk mapping */
#ifdef AFS_LINUX26_ENV