From patchwork Mon Feb 15 18:15:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= X-Patchwork-Id: 12089085 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=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 759FEC433E6 for ; Mon, 15 Feb 2021 18:15:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5053964DFF for ; Mon, 15 Feb 2021 18:15:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230044AbhBOSPL (ORCPT ); Mon, 15 Feb 2021 13:15:11 -0500 Received: from smtp-bc0d.mail.infomaniak.ch ([45.157.188.13]:37975 "EHLO smtp-bc0d.mail.infomaniak.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229996AbhBOSPK (ORCPT ); Mon, 15 Feb 2021 13:15:10 -0500 X-Greylist: delayed 20866 seconds by postgrey-1.27 at vger.kernel.org; Mon, 15 Feb 2021 13:15:10 EST Received: from smtp-3-0001.mail.infomaniak.ch (unknown [10.4.36.108]) by smtp-2-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4DfXLR4Y2kzMqHtk; Mon, 15 Feb 2021 19:14:23 +0100 (CET) Received: from localhost (unknown [23.97.221.149]) by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4DfXLR0jkKzlh8TF; Mon, 15 Feb 2021 19:14:22 +0100 (CET) From: =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= To: James Morris , Masahiro Yamada , "Serge E . Hallyn" Cc: =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= , Casey Schaufler , Nicolas Iooss , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: [PATCH v2 0/3] Kconfig oldconfig string update Date: Mon, 15 Feb 2021 19:15:08 +0100 Message-Id: <20210215181511.2840674-1-mic@digikod.net> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Hi, This patch series gives the opportunity to users, when running make oldconfig, to update configuration strings (e.g. CONFIG_LSM) according to dependency changes. This helps users keep a consistent up-to-date kernel configuration. This second series fixes a build error reported by kernel test robot when building without any LSM. This patch series can be applied on v5.11 . Previous version: https://lore.kernel.org/r/20210215122513.1773897-1-mic@digikod.net Regards, Mickaël Salaün (3): kconfig: Remove duplicate call to sym_get_string_value() kconfig: Ask user if string needs to be changed when dependency changed security: Add LSMs dependencies to CONFIG_LSM scripts/kconfig/conf.c | 37 ++++++++++++++++++++++++++++++++++--- security/Kconfig | 4 ++++ 2 files changed, 38 insertions(+), 3 deletions(-) base-commit: f40ddce88593482919761f74910f42f4b84c004b