Enable stack protection option, -fstack-clash-protection
authorHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 15 Apr 2019 07:08:10 +0000 (16:08 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 12 Feb 2024 15:37:44 +0000 (16:37 +0100)
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>
configure.ac

index 9961afd..774a2fa 100644 (file)
@@ -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])