From patchwork Sat Feb 8 21:57:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Titouan Christophe X-Patchwork-Id: 1235390 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=railnova.eu Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=railnova-eu.20150623.gappssmtp.com header.i=@railnova-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=sMIH+eNX; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48FQzP71J0z9sPJ for ; Sun, 9 Feb 2020 08:58:41 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D61C586044; Sat, 8 Feb 2020 21:58:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FV0Ibp2JQiKe; Sat, 8 Feb 2020 21:58:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id B309485C4C; Sat, 8 Feb 2020 21:58:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 4C8E41BF357 for ; Sat, 8 Feb 2020 21:58:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 48FC285C4C for ; Sat, 8 Feb 2020 21:58:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LviUnJmBrndX for ; Sat, 8 Feb 2020 21:58:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 938ED855DF for ; Sat, 8 Feb 2020 21:58:33 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id p9so5990501wmc.2 for ; Sat, 08 Feb 2020 13:58:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=railnova-eu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0FutvVBPbfvlD0BKaeMhgYv71vcooa3x9N5Y6BlWvgI=; b=sMIH+eNXf87EccYz+3h4E+e+1pLjZdKGApahKQRtT8bvBSWCJUu1xsGIuPkwTzAMXD 1PtmiRsXrYuxM/uhr85XrfWB6g7L1hwO2bfSRjxZ9tqj5ZKwzw6McFchqVEcD+F6A7Hc T5Jte8unKrejJJbH5GLAPqj1Nc5ogP0mNQEhZ1gDEDnH0NpY02Llwij7l7Pmegfbo4Xp Sc7X7EbY3pph9SSLSIht3A9l6h8vJtj9k5PZkmuFCbSy3IQi4Pxn6Y8Ccj9VAPsxn15r Y1sHVAC2NQbRlMBG7nYandK983d/UI7TZkUnKlYv40J9Wd8AY8MLAZ8UOFsanxb8U/5h JBfw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=0FutvVBPbfvlD0BKaeMhgYv71vcooa3x9N5Y6BlWvgI=; b=onnj2HcPG/+xCKLJR4CzrKChZPewZO1fSjFMxhNbzDgsRLKFNyum8X/FHvw1IHqY0a oyzdpBJmDnpCJvzPoWcd8jVFsqrG4MX7JK8IPf8QMe1PyjIPPWtldY3BScN+DJ3FqC/y Rf+hbcmOSRDLo1x5dQPr+SuIM3WI29M/TpkhctGpZO/diaJQIRGtnpt4jD26OYAAoz0M Il0BSU0R4jtkyBrMKrFV5xzMNUfOgANvSSKGdgBAkBYLV12JwxKGqvb7S9TXO3JH8wq/ iIWmUhQscoKB1tfsyhAyoHlejc5Tz5obgs5ctUdSm76sf1mnG5YfYF0MVu+TcT+6U012 N3Nw== X-Gm-Message-State: APjAAAVsdm7B3k+gtljleWo76RIX71PImJRrL4btVzjy24mtNGIIFinO G2y7K7cKgs3C5m/JEOMYpGFm0MMpU7PxEQ== X-Google-Smtp-Source: APXvYqxJUptXrTNViTHoucACXEeKpE6pc0+sqC2U3SkU3xGK9gHaRppm7uOI43vh6Bv6Acn0WE5SpQ== X-Received: by 2002:a7b:c7d2:: with SMTP id z18mr5834159wmk.160.1581199111653; Sat, 08 Feb 2020 13:58:31 -0800 (PST) Received: from localhost.localdomain ([2a02:a03f:63cf:a300:5cd0:a0a7:9509:1ef9]) by smtp.gmail.com with ESMTPSA id s8sm9178844wrt.57.2020.02.08.13.58.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Feb 2020 13:58:31 -0800 (PST) From: Titouan Christophe To: buildroot@buildroot.org Date: Sat, 8 Feb 2020 22:57:52 +0100 Message-Id: <20200208215752.13628-3-titouan.christophe@railnova.eu> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200208215752.13628-1-titouan.christophe@railnova.eu> References: <20200208215752.13628-1-titouan.christophe@railnova.eu> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 2/2] docs/manual: describe the new _IGNORE_CVES variable X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Korsgaard , Matt Weber , Thomas Petazzoni , Titouan Christophe , Thomas De Schampheleire Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Thomas Petazzoni Signed-off-by: Thomas Petazzoni Signed-off-by: Titouan Christophe --- docs/manual/adding-packages-generic.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt index baa052e31c..9a77923a92 100644 --- a/docs/manual/adding-packages-generic.txt +++ b/docs/manual/adding-packages-generic.txt @@ -488,6 +488,20 @@ not and can not work as people would expect it should: locations, `/lib/firmware`, `/usr/lib/firmware`, `/lib/modules`, `/usr/lib/modules`, and `/usr/share`, which are automatically excluded. +* +LIBFOO_IGNORE_CVES+ is a space-separated list of CVEs that tells + Buildroot CVE tracking tools which CVEs should be ignored for this + package. This is typically used when the CVE is fixed by a patch in + the package, or when the CVE for some reason does not affect the + Buildroot package. A Makefile comment must always preceed the + addition of a CVE to this variable. Example: + +---------------------- +# 0001-fix-cve-2020-12345.patch +LIBFOO_IGNORE_CVES += CVE-2020-12345 +# only when built with libbaz, which Buildroot doesn't support +LIBFOO_IGNORE_CVES += CVE-2020-54321 +---------------------- + The recommended way to define these variables is to use the following syntax: