From patchwork Thu Jun 24 00:19:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thadeu Lima de Souza Cascardo X-Patchwork-Id: 1496322 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G9LNy0s1Cz9sXG; Thu, 24 Jun 2021 10:19:45 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1lwD5p-0007Tg-Tl; Thu, 24 Jun 2021 00:19:41 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lwD5o-0007TD-5k for kernel-team@lists.ubuntu.com; Thu, 24 Jun 2021 00:19:40 +0000 Received: from [179.93.184.159] (helo=mussarela..) by youngberry.canonical.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lwD5n-0002DD-Fa for kernel-team@lists.ubuntu.com; Thu, 24 Jun 2021 00:19:39 +0000 From: Thadeu Lima de Souza Cascardo To: kernel-team@lists.ubuntu.com Subject: [SRU Bionic 0/2] LP: #1933385 selftests: bpf: test_verifier fixes Date: Wed, 23 Jun 2021 21:19:31 -0300 Message-Id: <20210624001933.3106979-1-cascardo@canonical.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" [Impact] kselftest bpf ./test_verifier fails on bionic, preventing regression from being identified. [Test case] Run selftest bpf ./test_verifier and check that it passes. [Potential regressions] The test could still fail or crash the kernel. Daniel Borkmann (2): bpf: Update selftests to reflect new error states bpf, selftests: Adjust few selftest result_unpriv outcomes tools/testing/selftests/bpf/test_verifier.c | 37 +++++++-------------- 1 file changed, 12 insertions(+), 25 deletions(-) Acked-by: Stefan Bader Acked-by: Kleber Sacilotto de Souza