diff options
author | khorben <khorben@pkgsrc.org> | 2017-07-05 15:49:00 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2017-07-05 15:49:00 +0000 |
commit | 6d34e9d43a95795710b44ac3cecfda656d4952e1 (patch) | |
tree | 0a6b1fa4907e9dd07b02ed4f3c02aca58c210db1 /mk | |
parent | 50fb356fc0eb0224bfbb029b9e837e952bbb0c41 (diff) | |
download | pkgsrc-6d34e9d43a95795710b44ac3cecfda656d4952e1.tar.gz |
Also check for RELRO in shared libraries
Diffstat (limited to 'mk')
-rw-r--r-- | mk/check/check-relro.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/check/check-relro.mk b/mk/check/check-relro.mk index cc897de6c0a..1fc96f4206f 100644 --- a/mk/check/check-relro.mk +++ b/mk/check/check-relro.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-relro.mk,v 1.1 2017/07/04 18:29:24 khorben Exp $ +# $NetBSD: check-relro.mk,v 1.2 2017/07/05 15:49:00 khorben Exp $ # # This file verifies that RELRO was applied accordingly at build-time. # @@ -37,8 +37,8 @@ CHECK_RELRO?= no CHECK_RELRO_SUPPORTED?= yes CHECK_RELRO_SKIP?= # none -# All binaries. -_CHECK_RELRO_ERE= (bin/|sbin/|libexec/) +# All binaries and shared libraries. +_CHECK_RELRO_ERE= (bin/|sbin/|libexec/|\.so$$|lib/lib.*\.so) _CHECK_RELRO_FILELIST_CMD?= ${SED} -e '/^@/d' ${PLIST} | \ (while read file; do \ |