From f58eeaae2ea634ac387432d4df3035bc953d63c8 Mon Sep 17 00:00:00 2001 From: dim Date: Tue, 15 Feb 2011 22:03:09 +0000 Subject: Fix some leftover binaries and shared libraries in the system that still have an executable stack, due to linking in hand-assembled .S or .s files, that have no .GNU-stack sections: RWX --- --- /lib/libcrypto.so.6 RWX --- --- /lib/libmd.so.5 RWX --- --- /lib/libz.so.6 RWX --- --- /lib/libzpool.so.2 RWX --- --- /usr/lib/liblzma.so.5 These were found using scanelf, from the sysutils/pax-utils port. Reviewed by: kib --- lib/liblzma/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/liblzma/Makefile') diff --git a/lib/liblzma/Makefile b/lib/liblzma/Makefile index 927fe8c..8d614cf 100644 --- a/lib/liblzma/Makefile +++ b/lib/liblzma/Makefile @@ -78,6 +78,7 @@ SRCS+= check.c \ .if defined(MACHINE_ARCH) && ${MACHINE_ARCH} == "i386" SRCS+= crc32_x86.S \ crc64_x86.S +ACFLAGS+= -Wa,--noexecstack .else SRCS+= crc32_fast.c \ crc64_fast.c -- cgit v1.1