pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/check
Module Name: pkgsrc
Committed By: khorben
Date: Wed Jul 5 15:49:00 UTC 2017
Modified Files:
pkgsrc/mk/check: check-relro.mk
Log Message:
Also check for RELRO in shared libraries
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mk/check/check-relro.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/check/check-relro.mk
diff -u pkgsrc/mk/check/check-relro.mk:1.1 pkgsrc/mk/check/check-relro.mk:1.2
--- pkgsrc/mk/check/check-relro.mk:1.1 Tue Jul 4 18:29:24 2017
+++ pkgsrc/mk/check/check-relro.mk Wed Jul 5 15:49:00 2017
@@ -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 \
Home |
Main Index |
Thread Index |
Old Index