Apply ASLR 29/256429/1 accepted/tizen/unified/20210406.083526 submit/tizen/20210405.022540
authorSeonah Moon <seonah1.moon@samsung.com>
Fri, 2 Apr 2021 09:09:49 +0000 (18:09 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Fri, 2 Apr 2021 09:09:55 +0000 (18:09 +0900)
Change-Id: If0863f74b2ec879d39ce58252c53a68f9459b30d

Makefile

index a01f693..1e917ce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,10 @@ UDEV_RULE_DIR?=/usr/lib/udev/rules.d/
 PUBKEY_DIR?=pubkeys
 RUNTIME_PUBKEY_DIR?=/etc/wireless-regdb/pubkeys
 
+# Apply ASLR
+CFLAGS += -fPIE
+LDFLAGS += -pie
+
 CFLAGS += -Wall -g
 
 all: all_noverify verify