about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2016-12-26 10:09:03 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-12-26 10:11:05 +0100
commit1ad4ba28e9335c288687d1757bce3221c522f576 (patch)
tree4c95165fe002d44ead6023a95f2a445466d326f0
parent7cbb738d218fad3bc91deebfd8ce5f3918592b84 (diff)
downloadglibc-1ad4ba28e9335c288687d1757bce3221c522f576.tar.gz
glibc-1ad4ba28e9335c288687d1757bce3221c522f576.tar.xz
glibc-1ad4ba28e9335c288687d1757bce3221c522f576.zip
Drop explicit stack-protection of pieces of the system [BZ #7065]
-rw-r--r--ChangeLog7
-rw-r--r--login/Makefile1
-rw-r--r--nscd/Makefile1
-rw-r--r--resolv/Makefile1
4 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 918c6f97c6..99749a5b75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,13 @@
 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
 
 	[BZ #7065]
+	* login/Makefile (pt_chown-cflags): Remove.
+	* nscd/Makefile (CFLAGS-nscd): Likewise.
+	* resolv/Makefile (CFLAGS-libresolv): Likewise.
+
+2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
+
+	[BZ #7065]
 	* elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
 	non-libc-linking testcase.
 
diff --git a/login/Makefile b/login/Makefile
index 9ff36d623e..1a6161c96e 100644
--- a/login/Makefile
+++ b/login/Makefile
@@ -58,7 +58,6 @@ CFLAGS-getpt.c = -fexceptions
 ifeq (yesyes,$(have-fpie)$(build-shared))
 pt_chown-cflags += $(pie-ccflag)
 endif
-pt_chown-cflags += $(stack-protector)
 ifeq (yes,$(have-libcap))
 libcap = -lcap
 endif
diff --git a/nscd/Makefile b/nscd/Makefile
index 50bad32ea5..bfd72d515d 100644
--- a/nscd/Makefile
+++ b/nscd/Makefile
@@ -84,7 +84,6 @@ CPPFLAGS-nscd += -D_FORTIFY_SOURCE=2
 ifeq (yesyes,$(have-fpie)$(build-shared))
 CFLAGS-nscd += $(pie-ccflag)
 endif
-CFLAGS-nscd += $(stack-protector)
 
 ifeq (yesyes,$(have-fpie)$(build-shared))
 LDFLAGS-nscd = -Wl,-z,now
diff --git a/resolv/Makefile b/resolv/Makefile
index be203683f7..06329e1f5c 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -90,7 +90,6 @@ CPPFLAGS += -Dgethostbyname=res_gethostbyname \
 	    -Dgetnetbyname=res_getnetbyname \
 	    -Dgetnetbyaddr=res_getnetbyaddr
 
-CFLAGS-libresolv += $(stack-protector)
 CFLAGS-res_hconf.c = -fexceptions
 
 # The DNS NSS modules needs the resolver.