From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19A28C4725B for ; Tue, 5 May 2020 10:27:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E9CC92075A for ; Tue, 5 May 2020 10:27:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="x92NhqmC" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728848AbgEEK1k (ORCPT ); Tue, 5 May 2020 06:27:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728821AbgEEK1j (ORCPT ); Tue, 5 May 2020 06:27:39 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97198C061A0F for ; Tue, 5 May 2020 03:27:38 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id h26so918759lfg.6 for ; Tue, 05 May 2020 03:27:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=230loUifIymLa/TVi9RdiH3XdsCp0ddGQu/ABs4Cb/4=; b=x92NhqmCrm4AnAjLTvH9UeLaB71xW26RAg+TIq9FmwhUI5v+CVWxv6VxxO+P3RoT4Z s4QjqMqalrxfMf6UgUgIRjpHcFtySd4i6a8Nt3ZY3SMhDa5t+ykTQt4xA2I+KVD2A9is G63HxsG7KE63wMd6ZRUU34E43yRCqU0ia91PBrZHf9zM+hQgVQLHq4zlDqwYqVGZnaRu 57tXMyOtQ/wOOD7DugMWjt9vbUfRL1mLbdL/LryZqmwSml1lWJ0pFEhD/Y5bitoLxufZ eCIoo1/B74mEAJakYcJW7PFgxdacVK+uRtcNflMt78pYhgNyp5DPcu8iZbtuu3haD/fS 8+vw== 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:mime-version :content-transfer-encoding; bh=230loUifIymLa/TVi9RdiH3XdsCp0ddGQu/ABs4Cb/4=; b=aS8pIQJkFfDaLVEjFintyeCvVSvKY8qI5U5uWReASYHlDhUHMIDo+9ukcgRUeB4kb8 EHyCua5aGAGzVwIQElvijlSrOucnO+P2a5hYYj/SmkXcaUhEofyaApXA/Mm0n91HEAY/ HdryPQNE6GgenWCGjT6HZYy+2+bpufxmTfKpRQA+kxcLgEphSksZVtXLYx7FmpYlGDe2 P9nqzKKe6hF06ZhkQ5JZ7x9ghAQu8eWDwEHSdHOBnWYgB1OJkvNGOIT6wih+TMnM3PjD KdXaV3i1M6GMnZjnC9bn6/OpZvGiTa1yP0DNxxU5A9adjiLZZH3L5LnQClNOUDo3IUD7 FqxQ== X-Gm-Message-State: AGi0PubENf/0szstkwK2SElfAtnjWf72b6jmq3pnen/Z/J5rQaZQCaUJ R2PYfdWjb8RfpwpwTyWop3eUIw== X-Google-Smtp-Source: APiQypIZ4cT/7LUuGVlV7W088j0iK9PnOaD9C4La60LR67rrDJBNi8X3LJVh/k9ffnvmmU6KZArQEQ== X-Received: by 2002:a19:ad45:: with SMTP id s5mr1277949lfd.106.1588674456921; Tue, 05 May 2020 03:27:36 -0700 (PDT) Received: from localhost (c-8c28e555.07-21-73746f28.bbcust.telenor.se. [85.229.40.140]) by smtp.gmail.com with ESMTPSA id n7sm1777255ljj.72.2020.05.05.03.27.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 May 2020 03:27:36 -0700 (PDT) From: Anders Roxell To: john.johansen@canonical.com, jmorris@namei.org, serge@hallyn.com Cc: gregkh@linuxfoundation.org, tytso@mit.edu, adilger.kernel@dilger.ca, akpm@linux-foundation.org, brendanhiggins@google.com, =linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-security-module@vger.kernel.org, elver@google.com, davidgow@google.com, Anders Roxell Subject: [PATCH v2 6/6] security: apparmor: default KUNIT_* fragments to KUNIT_RUN_ALL Date: Tue, 5 May 2020 12:27:28 +0200 Message-Id: <20200505102728.8168-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This makes it easier to enable all KUnit fragments. Adding 'if !KUNIT_RUN_ALL' so individual test can be turned of if someone wants that even though KUNIT_RUN_ALL is enabled. Signed-off-by: Anders Roxell --- security/apparmor/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/security/apparmor/Kconfig b/security/apparmor/Kconfig index 0fe336860773..c4648426ea5d 100644 --- a/security/apparmor/Kconfig +++ b/security/apparmor/Kconfig @@ -70,8 +70,9 @@ config SECURITY_APPARMOR_DEBUG_MESSAGES the kernel message buffer. config SECURITY_APPARMOR_KUNIT_TEST - bool "Build KUnit tests for policy_unpack.c" + bool "Build KUnit tests for policy_unpack.c" if !KUNIT_RUN_ALL depends on KUNIT=y && SECURITY_APPARMOR + default KUNIT_RUN_ALL help This builds the AppArmor KUnit tests. -- 2.20.1