Apply Full RELRO linker options ("-Wl,-z,relro,-z,now") to dbus-daemon 62/174562/2 accepted/tizen/unified/20180404.063322 submit/tizen/20180403.053920
authorHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 3 Apr 2018 04:47:23 +0000 (13:47 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 3 Apr 2018 05:35:35 +0000 (14:35 +0900)
In addition to Partial RELRO, Full RELRO means "GOT Table becomes read-only."

Change-Id: Iaed328906e23d526f3e05209d949f3e39f76a738
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
bus/Makefile.am

index 3f57cc4..9e688cf 100644 (file)
@@ -29,7 +29,7 @@ AM_CPPFLAGS = \
        $(NULL)
 
 # if assertions are enabled, improve backtraces
-AM_LDFLAGS = @R_DYNAMIC_LDFLAG@
+AM_LDFLAGS = @R_DYNAMIC_LDFLAG@ -Wl,-z,relro,-z,now
 
 EFENCE=