Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1760221rwd; Tue, 13 Jun 2023 13:54:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4L7PsyaUj2PtrAm0Ci9XZIdTnlb/i0HzrJoCMe0QYzMb4PRZzMdNZrdd4pZ3oWBmdiNTLJ X-Received: by 2002:a17:902:d511:b0:1b2:5c50:67ab with SMTP id b17-20020a170902d51100b001b25c5067abmr11623377plg.22.1686689676519; Tue, 13 Jun 2023 13:54:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686689676; cv=none; d=google.com; s=arc-20160816; b=oEvv+3N5GVrfVdbxpWrgilfHrykIbCHyMmKpRjc1YdkjvgUHl4wSI2pZgGLdYPpARf m99fRERCRB1Mv1nIo4HuvnhZOQSWIxzEA+Qv3y2BHU1cySvhUnvElLNIGwdqfQn0t+A3 hjKI/NJyneXeRSi7NheBfSUPhD86U9601qNK3VcbnBlOZ6/P/sDaeuQ+7RS3G2U1IXqs pNcaLR8ihjvXDDUsTsHDYwf0DU2BfuL9qdSaEIWjmYcPc98ZG1uHNywOkGJe5qnNr/Ec 0DhGaCcJDg9b7GoZepERu+ZMJFLWD7ay5VYbm+JmljnPPgz/ByYl56/+E2Nd4RZ5lmLz ylLg== 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=MnlFW0kd0Y84IfhvBXl3XnXnVsubhiNgScvuLZLkXZY=; b=cz80uNxNDU6jWwOrxlnw39EvdFZPJzVjKOi8kAPv8xs0rBeS3oUYiYfRvenLXjcIom c+0RZONOrlqmzFvgfiQSK1ksJ2Gqthx33E40vvoEudjhajqDiQy6FthJ/Tx0cv/CN8Az tNEUIftaAb8j7vokoQY6eebQLoZNhutbjIVZ9/IDuuAZXhn7ks1KwPYVe2++x4qBxsFa UsTHdnbAnB3veb+jKIBpFT8ZZdrHssHP1g8krh0Pi4HgiBa0O/eqi3bNG98LDoj+s4/E wqdoAVAKLm/1E8/slva7jZB1wUa1H+kEebqLOgytwTxK4OOKQUHVAoTgVpFBfjK4rS4b qoCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=eu5Fl0Es; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d1-20020a170902b70100b001b06fa86af9si9199701pls.462.2023.06.13.13.54.16; Tue, 13 Jun 2023 13:54:36 -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=@chromium.org header.s=google header.b=eu5Fl0Es; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231546AbjFMU07 (ORCPT + 99 others); Tue, 13 Jun 2023 16:26:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232427AbjFMU05 (ORCPT ); Tue, 13 Jun 2023 16:26:57 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92CDE1BD0 for ; Tue, 13 Jun 2023 13:26:55 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-653fcd58880so4622130b3a.0 for ; Tue, 13 Jun 2023 13:26:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1686688015; x=1689280015; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=MnlFW0kd0Y84IfhvBXl3XnXnVsubhiNgScvuLZLkXZY=; b=eu5Fl0EsFg77AB7lt65Txl0r6hk9Wb2IzCYKpbHX17N7W/zY4Hj+8zbZvi3X4kjDF9 gQ7AtYkCRyv1seyCnxYizI7b+zkOr6wdbzQGGM2NI3b9e4D1vcOjBfDKjgGgRGVQ9L5f nXIR+w0GCmjhMwkeSrG0TTQkcQNUBEr/zDmrE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686688015; x=1689280015; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=MnlFW0kd0Y84IfhvBXl3XnXnVsubhiNgScvuLZLkXZY=; b=a1ZXy9oo9OOhb6LaNvQV+f4vB0F6MBFL9ol81aEZg2O/DmdwHr1YL1OIr5Chd0g402 d86c7i1Rku7aB8uW9zLHYbEc3rBNz/gBv+oxnqefTgAh/74XCcZ7tLP9nPKTyC/B3QmX h51bahDUQ3x+Lj/ynFXt9WHWefbYecyeHoheLeeHMpVfntWZ1Uyu201HjxM55RFBsBcV eUcoIhL6YhQ8F53FwZr+QkYXQYmBbnHWydJdF/grvFFnVdIcBX5XGnSIQO1WG/g7e7fv 0Z2tDMASoRPsc33xTDQGeSB2T7mCc3kac7UtkOaEeMVP2ufKw5twKdTauWFqtush+nNZ wgOQ== X-Gm-Message-State: AC+VfDw22PqPikCmPs6XT7Q5CZ9ifApgly4eYOTqmqR9XsLIixR/rc3m lqZiMnJ0V3nox2AQCFUwmTcMJg== X-Received: by 2002:a05:6a20:7da8:b0:117:1c52:ba7c with SMTP id v40-20020a056a207da800b001171c52ba7cmr15082251pzj.6.1686688015095; Tue, 13 Jun 2023 13:26:55 -0700 (PDT) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id bc1-20020a170902930100b001b392bf9192sm7647778plb.145.2023.06.13.13.26.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jun 2023 13:26:54 -0700 (PDT) Date: Tue, 13 Jun 2023 13:26:53 -0700 From: Kees Cook To: Rae Moar Cc: shuah@kernel.org, davidgow@google.com, dlatypov@google.com, brendan.higgins@linux.dev, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, jstultz@google.com, tglx@linutronix.de, sboyd@kernel.org Subject: Re: [RFC v1 3/6] kunit: Add ability to filter attributes Message-ID: <202306131324.5B69ABC@keescook> References: <20230610005149.1145665-1-rmoar@google.com> <20230610005149.1145665-4-rmoar@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230610005149.1145665-4-rmoar@google.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Sat, Jun 10, 2023 at 12:51:46AM +0000, Rae Moar wrote: > Add filtering of test attributes. Users can filter tests using a > module_param_array called "filter". This functionality will be added to > kunit.py in the next patch. > > The filters will be imputed in the format: > "" > > Example: "speed>slow" > > Operations include: >, <, >=, <=, !=, and =. These operations do not need > to act the same for every attribute. How is the "default" filter specified? Is explicitly unfiltered? (i.e. "slow" stuff will run by default?) Or should there be a default filter of "speed