STRIP_COMMAND=/usr/bin/strip
CHMOD_COMMAND=/bin/chmod
-CFLAGS += -DTAINT_CHECK_SLOW
# FreeBSD Ports no longer insert compatibility symlinks into /usr/bin for
# scripting languages which traditionally have had them.
CFLAGS ?= -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
CFLAGS_DYNAMIC ?= -shared -rdynamic
+# We have mmap/malloc addr spaces separate
+CFLAGS += -DTAINT_CHECK_FAST
+
DBMLIB = -ldb
USE_DB = yes
CC=cc
CFLAGS=-O2 -Wall -Wno-parentheses -Wno-self-assign -Wno-logical-op-parentheses
-CFLAGS += -DTAINT_CHECK_SLOW
LIBS=-lm
# Exim: OS-specific make file for SunOS5
-CFLAGS=-O -DTAINT_CHECK_SLOW
-
HAVE_ICONV=yes
BASENAME_COMMAND=look_for_it
#if defined(COMPILE_UTILITY) || defined(MACRO_PREDEF)
return FALSE;
-#elif defined(TAINT_CHECK_SLOW)
+#elif !defined(TAINT_CHECK_FAST)
extern BOOL is_tainted_fn(const void *);
return is_tainted_fn(p);
/******************************************************************************/
+#ifndef TAINT_CHECK_FAST
/* Slower version check, for use when platform intermixes malloc and mmap area
addresses. */
hit:
return pool >= POOL_TAINT_BASE;
}
+#endif
void