projects
/
platform
/
core
/
system
/
tlm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ab26f60
)
Apply Full RELRO linker options ("-Wl,-z,relro,-z,now") to tlm-sessiond
71/174671/2
accepted/tizen/unified/20180404.063243
submit/tizen/20180403.102305
author
Hyotaek Shim
<hyotaek.shim@samsung.com>
Tue, 3 Apr 2018 10:17:30 +0000
(19:17 +0900)
committer
Hyotaek Shim
<hyotaek.shim@samsung.com>
Tue, 3 Apr 2018 10:20:42 +0000
(19:20 +0900)
In addition to Partial RELRO, Full RELRO makes GOT Table read-only.
Change-Id: I5a9abd9ca22295cc5c2874c91f4114cb78c7218f
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
src/sessiond/Makefile.am
patch
|
blob
|
history
diff --git
a/src/sessiond/Makefile.am
b/src/sessiond/Makefile.am
index
ab887f4
..
8a12e2a
100644
(file)
--- a/
src/sessiond/Makefile.am
+++ b/
src/sessiond/Makefile.am
@@
-41,6
+41,11
@@
tlm_sessiond_CFLAGS = \
-DG_LOG_DOMAIN=\"TLM_SESSIOND\" \
$(NULL)
+# To apply Armoring(Full RELRO), where GOT Table becomes read-only.
+tlm_sessiond_LDFLAGS = \
+ -Wl,-z,relro,-z,now \
+ $(NULL)
+
tlm_sessiond_LDADD = \
libtlm-session-daemon.la \
$(TLM_LIBS) \