pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/check Also check for RELRO in shared libraries
details: https://anonhg.NetBSD.org/pkgsrc/rev/c11836e03ea6
branches: trunk
changeset: 364832:c11836e03ea6
user: khorben <khorben%pkgsrc.org@localhost>
date: Wed Jul 05 15:49:00 2017 +0000
description:
Also check for RELRO in shared libraries
diffstat:
mk/check/check-relro.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 72ad07b4ee20 -r c11836e03ea6 mk/check/check-relro.mk
--- a/mk/check/check-relro.mk Wed Jul 05 15:34:41 2017 +0000
+++ b/mk/check/check-relro.mk Wed Jul 05 15:49:00 2017 +0000
@@ -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_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 \
Home |
Main Index |
Thread Index |
Old Index