summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyotaek Shim <hyotaek.shim@samsung.com>2019-04-15 16:08:10 +0900
committerHyotaek Shim <hyotaek.shim@samsung.com>2019-04-16 06:09:06 +0000
commit9bad88ffeb2d4894a0c85044869b57f5316813d8 (patch)
treec04f83f7c4072b1d5bd20068289a1a1507b5a966
parent4d68542c8f46bb5ff40923cab492e1af2b169ab1 (diff)
downloadsystemd-9bad88ffeb2d4894a0c85044869b57f5316813d8.tar.gz
systemd-9bad88ffeb2d4894a0c85044869b57f5316813d8.tar.bz2
systemd-9bad88ffeb2d4894a0c85044869b57f5316813d8.zip
Enable stack protection option, -fstack-clash-protection
http://suprem.sec.samsung.net/jira/browse/SATIZENVUL-1930 http://suprem.sec.samsung.net/jira/browse/SATIZENVUL-1933 Change-Id: I0c3292fd0d7fdd69a1aa902a1e9d8b75a6f11d87 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com> (cherry picked from commit 88c5aca34573b7cf59a92616abed29e3c7e72c64) (cherry picked from commit 831eda0d6fbc92a101ed53dcf4abedaaff94ca0a)
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1bd0836efa..2228c74a92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -191,6 +191,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
-fvisibility=hidden \
-fstack-protector \
-fstack-protector-strong \
+ -fstack-clash-protection \
-fPIE \
--param=ssp-buffer-size=4])