Message ID | 20180911162139.3997-1-jelle@vdwaa.nl |
---|---|
State | Accepted, archived |
Headers | show
Return-Path: <arch-projects-bounces@archlinux.org> Delivered-To: patchwork@archlinux.org Received: from apollo.archlinux.org (localhost [127.0.0.1]) by apollo.archlinux.org (Postfix) with ESMTP id 5B8186D63EA2 for <patchwork@archlinux.org>; Tue, 11 Sep 2018 16:21:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on apollo X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=DKIM_SIGNED=0.1, MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3,T_DKIM_INVALID=1 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-BL-Results: <dns:1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.7.8.0.6.0.6.1.0.8.f.4.0.1.0.a.2.list.dnswl.org> [127.0.9.2] Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by apollo.archlinux.org (Postfix) with ESMTPS for <patchwork@archlinux.org>; Tue, 11 Sep 2018 16:21:53 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id ECA37D4EDACC7; Tue, 11 Sep 2018 16:21:51 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [5.9.250.164]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Tue, 11 Sep 2018 16:21:51 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id C467E2D3FD; Tue, 11 Sep 2018 16:21:51 +0000 (UTC) Authentication-Results: luna.archlinux.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=vdwaa-nl.20150623.gappssmtp.com header.i=@vdwaa-nl.20150623.gappssmtp.com header.b=xx0BA6NE Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 15D322D3FC for <arch-projects@lists.archlinux.org>; Tue, 11 Sep 2018 16:21:50 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) by luna.archlinux.org (Postfix) with ESMTPS for <arch-projects@lists.archlinux.org>; Tue, 11 Sep 2018 16:21:50 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 4D670D4EDACC2 for <arch-projects@archlinux.org>; Tue, 11 Sep 2018 16:21:44 +0000 (UTC) Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS for <arch-projects@archlinux.org>; Tue, 11 Sep 2018 16:21:44 +0000 (UTC) Received: by mail-ed1-x52e.google.com with SMTP id z27-v6so19710519edb.10 for <arch-projects@archlinux.org>; Tue, 11 Sep 2018 09:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vdwaa-nl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=qllxnU4OedXINAwjUa1oJoPeBF03IC/xtF4vFE86Oxo=; b=xx0BA6NENZjU3ooNWiM3AqYu3P2nWw4aSHXfTS5iLZHJqBWU34SEsE5c5jaNLRRwLE TJhsM7grzeVaguU5Z28sSJ4pfQOQDoes5V82vm5/ixboaDMmqbdGWfJbV4Qo2zJ5wdkI cnbZU6DONd5cUWHCIzyCVOOp2bDuExseWApZ7yFIyYVqtD/97jFz+28NTKekhKzZo4UO QZwa2dBN+gfdUcHkEBdBC1alXNZnyf1R3zyxWGds//jBEBZZW/aZCr9LDjaVUVYg3JRo vy/FGhriKGUClE5Z+Y/zW3ZZr7ap+geNyjhS7vKfcs8eUF0PkKuODgRNKGx43J07zgiF Z9JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=qllxnU4OedXINAwjUa1oJoPeBF03IC/xtF4vFE86Oxo=; b=dL/1D2zInuOipsvpbMKaPeM46jp1dmcu9c80noFQ4ZVhqnd1twDRKxnDo3YeT72OFy Be4lF3k2LvdS4JwJod0yZHyUpPvJUBHBZkpVDxmurMg4GkEwjDglORKFiYeMbXwNs+30 whv/XS9tIJr1xZbo6E/unl19sFfrm/FcsXT5C7j1G7cqDjTA0Q8KW5tCjGUKlIPiIdK5 m/js3h7eqkxVu3e2LKXT0uuWgGcGpZceOhLyiQVMZfJKKIzKFibCAuTSJrCqRDqRvopf rTj5DcfduYbwzl4RhFD43mcGH5DxBFHhJ+ZOcXlOxJHNbMFQB1WPBbDZFyEybTkm8xbN X2UA== X-Gm-Message-State: APzg51DrHiI3etmHOB4bd2hoHT/T8i047C+0AQFBSmQdP51gctqarvFY Yx2hNRYutwuPinCYkltM+mVg/bhVI/o= X-Google-Smtp-Source: ANB0Vdamo3Hu7SzxDYX57bDYBgnIBzSeeEixZ6VSADu6nkQ/Q9UIwP4PjD6hMfmWyAZN4q2i+eQH+w== X-Received: by 2002:a50:bdc5:: with SMTP id z5-v6mr28597370edh.46.1536682903636; Tue, 11 Sep 2018 09:21:43 -0700 (PDT) Received: from helium.space.revspace.nl (dedi.vdwaa.nl. [51.15.0.200]) by smtp.gmail.com with ESMTPSA id d35-v6sm9640111eda.25.2018.09.11.09.21.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Sep 2018 09:21:42 -0700 (PDT) From: Jelle van der Waa <jelle@vdwaa.nl> To: arch-projects@archlinux.org Date: Tue, 11 Sep 2018 18:21:39 +0200 Message-Id: <20180911162139.3997-1-jelle@vdwaa.nl> X-Mailer: git-send-email 2.18.0 Subject: [arch-projects] [namcap] [PATCH] Ignore .so for no PIE check X-BeenThere: arch-projects@archlinux.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Arch Linux projects development discussion <arch-projects.archlinux.org> List-Unsubscribe: <https://lists.archlinux.org/options/arch-projects>, <mailto:arch-projects-request@archlinux.org?subject=unsubscribe> List-Archive: <https://lists.archlinux.org/pipermail/arch-projects/> List-Post: <mailto:arch-projects@archlinux.org> List-Help: <mailto:arch-projects-request@archlinux.org?subject=help> List-Subscribe: <https://lists.archlinux.org/listinfo/arch-projects>, <mailto:arch-projects-request@archlinux.org?subject=subscribe> Reply-To: Arch Linux projects development discussion <arch-projects@archlinux.org> Errors-To: arch-projects-bounces@archlinux.org Sender: "arch-projects" <arch-projects-bounces@archlinux.org> |
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