[arch-projects] [namcap] [PATCH] Ignore .so for no PIE check
Jelle van der Waa
jelle at vdwaa.nl
Tue Sep 11 16:21:39 UTC 2018
---
Namcap/rules/elffiles.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Namcap/rules/elffiles.py b/Namcap/rules/elffiles.py
index d707a58..41fd1cd 100644
--- a/Namcap/rules/elffiles.py
+++ b/Namcap/rules/elffiles.py
@@ -223,6 +223,8 @@ class NoPIERule(TarballRule):
for entry in tar:
if not entry.isfile():
continue
+ if '.so' in entry.name:
+ continue
fp = tar.extractfile(entry)
if not is_elf(fp):
continue
--
2.18.0
More information about the arch-projects
mailing list