Apply ASLR on utils 63/140363/1 accepted/tizen_4.0_base accepted/tizen/4.0/base/20170811.093025 accepted/tizen/4.0/base/20170828.221328 accepted/tizen/base/20170728.205608 submit/tizen_4.0/20170810.000000 submit/tizen_4.0_base/20170810.000000 submit/tizen_4.0_base/20170811.071500 submit/tizen_4.0_base/20170828.000000 submit/tizen_4.0_base/20170828.000001 submit/tizen_4.0_base/20170828.000002 submit/tizen_base/20170726.065017 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
authorYunjin Lee <yunjin-.lee@samsung.com>
Mon, 24 Jul 2017 10:14:46 +0000 (19:14 +0900)
committerYunjin Lee <yunjin-.lee@samsung.com>
Tue, 25 Jul 2017 01:21:44 +0000 (01:21 +0000)
Change-Id: I1ab15f83698254b7612c625cdf9fa6a284ad2e9f
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
(cherry picked from commit 0145652c5e0ef9a341a98e70586cd3962d0a7374)

chacl/Makefile
getfacl/Makefile
setfacl/Makefile

index 33858d6..67f2056 100644 (file)
@@ -22,6 +22,9 @@ include $(TOPDIR)/include/builddefs
 LTCOMMAND = chacl
 CFILES = chacl.c
 
+CFLAGS += -fPIE
+LDFLAGS += -pie
+
 LLDLIBS = $(LIBACL) $(LIBATTR)
 LTDEPENDENCIES = $(LIBACL)
 
index 7fbafda..d80b0d4 100644 (file)
@@ -23,6 +23,9 @@ LTCOMMAND = getfacl
 CFILES = getfacl.c user_group.c
 HFILES = user_group.h
 
+CFLAGS += -fPIE
+LDFLAGS += -pie
+
 LLDLIBS = $(LIBMISC) $(LIBACL) $(LIBATTR)
 LTDEPENDENCIES = $(LIBMISC) $(LIBACL)
 
index c44e7c0..3b7e68a 100644 (file)
@@ -23,6 +23,9 @@ LTCOMMAND = setfacl
 CFILES = setfacl.c do_set.c sequence.c parse.c
 HFILES = sequence.h parse.h do_set.h
 
+CFLAGS += -fPIE
+LDFLAGS += -pie
+
 LLDLIBS = $(LIBMISC) $(LIBACL) $(LIBATTR)
 LTDEPENDENCIES = $(LIBMISC) $(LIBACL)