Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp211760imw; Mon, 4 Jul 2022 07:55:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vBtQytnCvtFXEJnBTcgbXnqvmDp2QXHv7rQjAx/uc5WJZS79/o5gDFiQ1Y5ZwaUkNa2mRp X-Received: by 2002:a05:6402:51ca:b0:437:79a9:4dd with SMTP id r10-20020a05640251ca00b0043779a904ddmr39087050edd.319.1656946507114; Mon, 04 Jul 2022 07:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656946507; cv=none; d=google.com; s=arc-20160816; b=FhvN5v6LRSNof3OhnErnA5p9XNBhGaQXHP8qVyDpsITGZU+u1TWfsZaajYHCbkGwON owcz5j/P5wZN6+Kb8KACOXsQEtZTLULjZTUKKX8CV6sJEQeMkPADKtV7FZ10plcGTdi4 HewRwjUVwvrFh1G/avNl9pUBSo9S7YgYE4jX3xkjYzH5XN0hf7jYYSDnliOBn3dex9jo cIBDJi2nvP72rgirMbd9/ngyA6OITYhOoEdpnj2u1HMVWtTB5hAdl6bugt53QDVYxxAA c8X7brRA9PSbjJNHdbb7mCQthw6X09NIyfYfFkGvRxGFy5B/0oR1+/rOXfWBDjmsvv3G /Wxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1GlBg0/jrXOOxjuR7NIytEZ2CZkuWD0dJ1ZI2qVoS+A=; b=UPoTEl6Dard++eF+cxHfxCNEbfLvDlQrjR49WdLRImQCAIbaFI52y4yDWTK846jb3i fNbJIvwnoBsFAZD4C59wfQhCpomjuUdjyDUcLwjZMyUMYLlROMYpeBy+VaVZunhARzGz i4t3Yfb7F7SIfe8WTlZzV5y06uvJCqw5ja+Uw7tuLwckV0qLYll5YlRP8qCvEcuJ9bSb AqXDW03jt2KgU3tG18ESXOCjIYPFntowulkSer2M8HX6S86ziM5uIqtDGWDnmKZWYNhL yDh6vFZb4Y2eIJWRRcIFBrJse2vM7nHr/FunFS8NXN3cAqhp3w1HuZpOUEmu9TyggVMj RxPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AlxfBTgh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12-20020a170906794c00b0072a6bd1a193si14488168ejo.112.2022.07.04.07.54.42; Mon, 04 Jul 2022 07:55:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AlxfBTgh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233573AbiGDOqW (ORCPT + 99 others); Mon, 4 Jul 2022 10:46:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229896AbiGDOqU (ORCPT ); Mon, 4 Jul 2022 10:46:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 653C2DEC5; Mon, 4 Jul 2022 07:46:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 01053616C2; Mon, 4 Jul 2022 14:46:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02F8EC3411E; Mon, 4 Jul 2022 14:46:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656945978; bh=Pd8bOydNgagNlzM2jEnf+b0RCzLznrRr1KtZ3YY8Fdo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AlxfBTghgbYYw3LLCP/brHUH7sId2SktlL/XJGPU/apFOSBb5pnbEksg+CpvDOub9 U60B8QVEEOXscaGsoULTpy2txlIiNyDjtd8ch2NjI5MeTJFUSTtPzweUKv+ED10kCW D2Rvmhhn0r9VFfm9twPWVWsmOrmzzXfnXHio5POQ= Date: Mon, 4 Jul 2022 16:46:15 +0200 From: Greg KH To: Po-Hsu Lin Cc: stable@vger.kernel.org, memxor@gmail.com, linux-kernel@vger.kernel.org, ast@kernel.org Subject: Re: [PATCH stable 5.15 1/1] selftests/bpf: Add test_verifier support to fixup kfunc call insns Message-ID: References: <20220701130858.282569-1-po-hsu.lin@canonical.com> <20220701130858.282569-2-po-hsu.lin@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220701130858.282569-2-po-hsu.lin@canonical.com> X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 01, 2022 at 09:08:58PM +0800, Po-Hsu Lin wrote: > From: Kumar Kartikeya Dwivedi > > commit 0201b80772ac2b712bbbfe783cdb731fdfb4247e upstream. > > This allows us to add tests (esp. negative tests) where we only want to > ensure the program doesn't pass through the verifier, and also verify > the error. The next commit will add the tests making use of this. > > Signed-off-by: Kumar Kartikeya Dwivedi > Link: https://lore.kernel.org/r/20220114163953.1455836-9-memxor@gmail.com > Signed-off-by: Alexei Starovoitov > [PHLin: backport due to lack of fixup_map_timer] > Signed-off-by: Po-Hsu Lin > --- > tools/testing/selftests/bpf/test_verifier.c | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) Now queued up, thanks. greg k-h