summaryrefslogtreecommitdiff
path: root/src/OS
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-12-10 13:19:09 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2019-12-10 16:02:48 +0000
commitf096bcccb8e4c9ba57d128c2f08c52f7dc94e07d (patch)
treec8d31df80210a34d66fddfbabd81a48c143e8544 /src/OS
parentadc4ecf9c7fc0a78c471c6794f5b2e62a396c301 (diff)
Taint: invert the taint-check implementation control #define
Diffstat (limited to 'src/OS')
-rw-r--r--src/OS/Makefile-FreeBSD1
-rw-r--r--src/OS/Makefile-Linux3
-rw-r--r--src/OS/Makefile-OpenBSD1
-rw-r--r--src/OS/Makefile-SunOS52
4 files changed, 3 insertions, 4 deletions
diff --git a/src/OS/Makefile-FreeBSD b/src/OS/Makefile-FreeBSD
index 1a2f8ecab..8dbdab79d 100644
--- a/src/OS/Makefile-FreeBSD
+++ b/src/OS/Makefile-FreeBSD
@@ -4,7 +4,6 @@ CHOWN_COMMAND=/usr/sbin/chown
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.
diff --git a/src/OS/Makefile-Linux b/src/OS/Makefile-Linux
index ae9f249a9..d1d501376 100644
--- a/src/OS/Makefile-Linux
+++ b/src/OS/Makefile-Linux
@@ -18,6 +18,9 @@ CC=cc
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
diff --git a/src/OS/Makefile-OpenBSD b/src/OS/Makefile-OpenBSD
index 8bff1b058..1855e55bd 100644
--- a/src/OS/Makefile-OpenBSD
+++ b/src/OS/Makefile-OpenBSD
@@ -6,7 +6,6 @@ CHMOD_COMMAND=/bin/chmod
CC=cc
CFLAGS=-O2 -Wall -Wno-parentheses -Wno-self-assign -Wno-logical-op-parentheses
-CFLAGS += -DTAINT_CHECK_SLOW
LIBS=-lm
diff --git a/src/OS/Makefile-SunOS5 b/src/OS/Makefile-SunOS5
index fc3fd96cf..33cb1f033 100644
--- a/src/OS/Makefile-SunOS5
+++ b/src/OS/Makefile-SunOS5
@@ -1,7 +1,5 @@
# Exim: OS-specific make file for SunOS5
-CFLAGS=-O -DTAINT_CHECK_SLOW
-
HAVE_ICONV=yes
BASENAME_COMMAND=look_for_it