[lintian] 03/05: c/binaries: amend go whitelist to cover all errors
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 3f4dbef1fd379be33d6c1623483924eda150c17c
Author: Michael Stapelberg <stapelberg@debian.org>
Date: Mon Mar 13 20:30:40 2017 +0100
c/binaries: amend go whitelist to cover all errors
Signed-off-by: Niels Thykier <niels@thykier.net>
---
checks/binaries.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/checks/binaries.pm b/checks/binaries.pm
index 5870dd9..a0d57bc 100644
--- a/checks/binaries.pm
+++ b/checks/binaries.pm
@@ -586,11 +586,13 @@ sub run {
}
if ($arch_hardening->{'hardening-no-bindnow'}
+ and not $built_with_golang
and not exists($objdump->{'FLAGS_1'}{'NOW'})) {
tag 'hardening-no-bindnow', $file;
}
if ( $arch_hardening->{'hardening-no-pie'}
+ and not $built_with_golang
and $objdump->{'ELF-TYPE'} eq 'EXEC') {
tag 'hardening-no-pie', $file;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: