]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Use LSAN top level header file
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 20 Apr 2018 07:20:46 +0000 (19:20 +1200)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 20 Apr 2018 08:50:58 +0000 (20:50 +1200)
configure
configure.ac
src/include/autoconf.h.in
src/lib/util/debug.c
src/modules/rlm_python/rlm_python.c

index 0ea08c997a16566946a7b9236acde264413ee355..d65a8776958af50ca6ca7168c2112f3b674d287a 100755 (executable)
--- a/configure
+++ b/configure
@@ -7520,7 +7520,7 @@ for ac_header in \
   prot.h \
   pwd.h \
   resource.h \
-  sanitizer/common_interface_defs.h \
+  sanitizer/lsan_interface.h \
   semaphore.h \
   sia.h \
   siad.h \
index 2e814f9d43010d5bab24c4bd4ef597a5b522d202..cb6990b46e2b28b9fd2157f67fd7e97a2b370550 100644 (file)
@@ -789,7 +789,7 @@ AC_CHECK_HEADERS( \
   prot.h \
   pwd.h \
   resource.h \
-  sanitizer/common_interface_defs.h \
+  sanitizer/lsan_interface.h \
   semaphore.h \
   sia.h \
   siad.h \
index 7b22f024ad4a8542a0c0fb26401c30c0cd1038b4..5094776c4db1abc8a4bbd389f93e0507a35391fd 100644 (file)
 /* Define to 1 if you have the <resource.h> header file. */
 #undef HAVE_RESOURCE_H
 
-/* Define to 1 if you have the <sanitizer/common_interface_defs.h> header
-   file. */
-#undef HAVE_SANITIZER_COMMON_INTERFACE_DEFS_H
+/* Define to 1 if you have the <sanitizer/lsan_interface.h> header file. */
+#undef HAVE_SANITIZER_LSAN_INTERFACE_H
 
 /* Define to 1 if you have the <semaphore.h> header file. */
 #undef HAVE_SEMAPHORE_H
index cbc4faeae6cf94b16c9237ecb498cbcc63fc9417..ab1ace1219f9afce1cda704ead5701226c34eb6a 100644 (file)
@@ -116,11 +116,11 @@ static TALLOC_CTX *talloc_autofree_ctx;
 #    include <sys/capability.h>
 #  endif
 
-#ifdef HAVE_SANITIZER_COMMON_INTERFACE_DEFS_H
-#  include <sanitizer/common_interface_defs.h>
+#ifdef HAVE_SANITIZER_LSAN_INTERFACE_H
+#  include <sanitizer/lsan_interface.h>
 #endif
 
-#ifdef HAVE_SANITIZER_COMMON_INTERFACE_DEFS_H
+#ifdef HAVE_SANITIZER_LSAN_INTERFACE_H
 static int lsan_test_pipe[2] = {-1, -1};
 static int lsan_test_pid = -1;
 static int lsan_state = INT_MAX;
index 996de12df1855116ec95d748dff0d5a72e87d8bd..86e50e29759f9ae27fba204e29d3b25d6735b303 100644 (file)
@@ -32,6 +32,7 @@ RCSID("$Id$")
 #include <freeradius-devel/radiusd.h>
 #include <freeradius-devel/modules.h>
 #include <freeradius-devel/rad_assert.h>
+#include <freeradius-devel/lsan.h>
 
 #include <Python.h>
 #include <dlfcn.h>