Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp543750ybj; Tue, 5 May 2020 03:30:47 -0700 (PDT) X-Google-Smtp-Source: APiQypITTCh04zsBXtPhHMqjF7vXfNKYuQLcUqTrhd8gOJiuCk7sw3i1P0B0TeU2eupZYgwAb1wW X-Received: by 2002:a50:ed8f:: with SMTP id h15mr1923259edr.331.1588674646888; Tue, 05 May 2020 03:30:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588674646; cv=none; d=google.com; s=arc-20160816; b=r0GuCntBcw9pY9nU9lp/YRbtll/tYkpJ88N5GzrI5oxxhqVzanvmJqlK1sLeiJwqXh BKuxnXOwKxUJdIup9M2h51dCLel6RkrdIwandeSnoC8UTxg8ap5jPt57i7aVvLXqRH/T JOudDfZAoe7/JnQ3laMU3hrV92p0lx9meNXb1EKTi8AP8v0TqMcuQ0I2FCaIPxwXcBjl Ltte/RX4dK+GhrorP/nHfQB6ViOHpk19lQdhzInPIFXE0qdctwXSyucMi8VIuIyTeN5O pfC1tj3qO33D97gqs4C4aGuLu4FqLWupi6hCQAO5j+I1fgETtqlIH3CyzU8bcpabPEic vDfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=230loUifIymLa/TVi9RdiH3XdsCp0ddGQu/ABs4Cb/4=; b=zbWqMF+XtoZCLbTRCzLiszkFYBueFjLg5on1GcMik/y7aktTL6dGU9EOh2UWJV6Kuk Fo9GYLp+HJmkxNqj+K09aCGPKH2M5YfD5XGjV6n3dG3GCaDO6eIQ6MgltjMoySmek3aD 38CrdzW1uawq40Wv0N0fWOqZiffZd/coJW0xP3LSDfoz89i4YlM5iNPZsIeLODWBrvxk wOGGDzXq0B7BtVu4qT1RTpRzMkGxa0xTgfhtoUujOEHl5NlLS7cy6kdo5xIXKdNQakWb CXZmPcmaFsv3BbjdMrhbAoHjg/0V2ZyiAGT28cwNbl2yNOMdCNuW1KKTtKV1O9hbO6vu 4Jcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x92NhqmC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v10si1061290edl.365.2020.05.05.03.30.24; Tue, 05 May 2020 03:30:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x92NhqmC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728836AbgEEK1k (ORCPT + 99 others); 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-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