archrelease: copy trunk to extra-x86_64
[arch-packages.git] / namcap / trunk / namcap-ignore-so-no-pie.patch
bloba7d7e38f5cb77bbc3c1123382c13d2e51f0fb85c
1 From 4ece4901d13b9fa590a538cc2133374d3c17df6f Mon Sep 17 00:00:00 2001
2 From: Jelle van der Waa <jelle@vdwaa.nl>
3 Date: Tue, 11 Sep 2018 18:21:39 +0200
4 Subject: Ignore .so for no PIE check
6 Signed-off-by: Kyle Keen <keenerd@gmail.com>
7 ---
8 Namcap/rules/elffiles.py | 2 ++
9 1 file changed, 2 insertions(+)
11 diff --git a/Namcap/rules/elffiles.py b/Namcap/rules/elffiles.py
12 index 6cef680..4ad1e66 100644
13 --- a/Namcap/rules/elffiles.py
14 +++ b/Namcap/rules/elffiles.py
15 @@ -228,6 +228,8 @@ class NoPIERule(TarballRule):
16 for entry in tar:
17 if not entry.isfile():
18 continue
19 + if '.so' in entry.name:
20 + continue
21 fp = tar.extractfile(entry)
22 if not is_elf(fp):
23 continue
24 --
25 cgit v1.2.1-1-g437b