diff options
author | dim <dim@FreeBSD.org> | 2011-02-15 22:03:09 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-02-15 22:03:09 +0000 |
commit | f58eeaae2ea634ac387432d4df3035bc953d63c8 (patch) | |
tree | ed19a330dc5f9d0725baedab2bf3317a6ec2fae8 /cddl | |
parent | be13e396c9ec1ab7dc7f7c4cd04e66bcb6530c43 (diff) | |
download | FreeBSD-src-f58eeaae2ea634ac387432d4df3035bc953d63c8.zip FreeBSD-src-f58eeaae2ea634ac387432d4df3035bc953d63c8.tar.gz |
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
Diffstat (limited to 'cddl')
-rw-r--r-- | cddl/lib/libzpool/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cddl/lib/libzpool/Makefile b/cddl/lib/libzpool/Makefile index 7a0ce3c..bdd9ecd 100644 --- a/cddl/lib/libzpool/Makefile +++ b/cddl/lib/libzpool/Makefile @@ -14,6 +14,7 @@ .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "powerpc64" .PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/atomic/${MACHINE_ARCH} ATOMIC_SRCS= opensolaris_atomic.S +ACFLAGS+= -Wa,--noexecstack .else .PATH: ${.CURDIR}/../../../sys/cddl/compat/opensolaris/kern ATOMIC_SRCS= opensolaris_atomic.c |