Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1177992rwd; Thu, 8 Jun 2023 13:31:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5se1xsImeEnoRAthZzJ1ldwn2+mCzizN9TVFbtTtyCu+qwS5KeVV0m7GIWJAAEn9wkq3UX X-Received: by 2002:a17:90a:51:b0:255:33ba:7bf8 with SMTP id 17-20020a17090a005100b0025533ba7bf8mr5430624pjb.23.1686256280352; Thu, 08 Jun 2023 13:31:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686256280; cv=none; d=google.com; s=arc-20160816; b=nlQfsM2POzLajLnz1Xjr81Xi8q7BIyR577g2GqTgJovtboVk05/hfx6C1VojZqiNzA cqiiPKTw39qob/Of7kVXzhUFVM+ZmHm5WXECeUYIJORkSydYMOO4NCkTW57SqKVsTHXA jPpnfSY4FJJ9YrwXr51Cli8jwArevzbIaiOgQT/641Cy5n3nnRnb1isk2CFBr8Lyv6M6 n58irf9IYDSFAKAk7oATyb5lek3A3G0plH7f+oHUH0yMrjWeqdZ7DekccOgWjslo7Bbl bRg/8HG3MeP7h/TSxxD7h64t3AFQQ9j6PPpPcg80xQdYOV4idEUvK7paXgvCYA/CePN4 NYCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BjVOaOX+rOUwxqfCcfqaeBd3w4EjFD+d/9OSygYwXOc=; b=MKinb5lpz80tIN/8J1D+yq6odna+eaaOK8Q6gY4g3vV44fo4uPsYL1xZMChzpYaPDn fcWnGFI5DZHQYesu6LJXKffzF0IYoIyBa4jJHTx5+rY+PMA1znHIviJGrKVBpwJ0WjPJ lOKIh9h5az/VUENxyM6/I7ybSo2P4/X8mOhPZq6KuV+izt3H6jsuFZaC6t45MA05wFNH 2kUd8vDqyFvz+sZWHCLU+fIzQTr4QsSnxPzKk02g4y+HkJ73lcXg3Wyc7/DuIC3jkhK2 q8RqU+k2BpnSS6M/03n2SvzuPaElFrY/XdS7UMkj54eL+/zg7HwqWoVWlYNO59IjMoXT kOqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=wQK0hZhV; 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=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kx16-20020a17090b229000b00256414fdd5bsi3182382pjb.143.2023.06.08.13.31.05; Thu, 08 Jun 2023 13:31:20 -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=@canonical.com header.s=20210705 header.b=wQK0hZhV; 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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229986AbjFHU1o (ORCPT + 99 others); Thu, 8 Jun 2023 16:27:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229845AbjFHU1U (ORCPT ); Thu, 8 Jun 2023 16:27:20 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 201E83580 for ; Thu, 8 Jun 2023 13:27:02 -0700 (PDT) Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id C1EF13F373 for ; Thu, 8 Jun 2023 20:26:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1686256018; bh=BjVOaOX+rOUwxqfCcfqaeBd3w4EjFD+d/9OSygYwXOc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=wQK0hZhVfLcMxU4dlxzm2B9+jBCZKbCDPSbrR+s1fc8+Oh6xHJ+WqknKa0ztL23BR q5ebjyq/74YcPh0accPMv8Xunc1HJXWTOyZNjY8Uy4ty+duhKgFzPwc57CzcOlFiA0 WiYNQu7a9PakROvBg4Qi7zKrXzfL2y19jzIvP9GgluqEwLncNCP+HewUs+kAxtdj59 zCejD0j3jvHi4S5ylfEvV31ipqIGiv5epun07nOaYFdH83q0hvwA47r2K7GW9E+SA1 HIMdyhzQZu0ct6XfutGI2vcnX6PuyZGnKjS0hnsFID/Hoznqfrd2x23BxX3yaV/t/A bdMIo/QjUZaOQ== Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-970e0152da7so116794966b.2 for ; Thu, 08 Jun 2023 13:26:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686256018; x=1688848018; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BjVOaOX+rOUwxqfCcfqaeBd3w4EjFD+d/9OSygYwXOc=; b=PmXHMuAjpNfJkEoAyIJeTrWruBXERxmh7lN5tfuxQKTOieCw7JifazURT/12+DPmUS 1aSDcBO5WBQZxZrxn4cwnTWrPMZd6H4jOGBYpJZWvVP9cWQtU4tqAocmC5PN2TdFL36V IF7jKYuFecmVsposXdQ6uwpZvpGsdlYRjDZFTWt+qssBjbXA3LTrW4AOmHzWIKO6YGnt zMJdSfwjxmBFVcc818r4sqKYaq3WvCOdDxSLnVB77mBrTAwfT/uF9GMyPU3PGCsTzPhY KFAowjCF46slHUN3QxBVk3odKvJRxq1lAmaq7yiVknh/PZ2VH2p0njjwwre5kblD2xQ8 Dy/w== X-Gm-Message-State: AC+VfDy00jCTxo70Msmdf1ME+GYwgnW9ae04xwa3cx88c1MEa1r6KEdM VFpw2PRRKRhq7Wkt1ZyscejHRUrQUkE7fOa3AsFq+w+pOLcH3hri88lLTxk6YeeOosJ650OM27b cmVdXmTpPscBwmft2EXWp0FRKHebtpv1CRLMEp37D2g== X-Received: by 2002:a17:907:7f23:b0:973:903c:35a4 with SMTP id qf35-20020a1709077f2300b00973903c35a4mr244245ejc.65.1686256018296; Thu, 08 Jun 2023 13:26:58 -0700 (PDT) X-Received: by 2002:a17:907:7f23:b0:973:903c:35a4 with SMTP id qf35-20020a1709077f2300b00973903c35a4mr244226ejc.65.1686256018075; Thu, 08 Jun 2023 13:26:58 -0700 (PDT) Received: from amikhalitsyn.local (dslb-002-205-064-187.002.205.pools.vodafone-ip.de. [2.205.64.187]) by smtp.gmail.com with ESMTPSA id b16-20020a170906491000b0095342bfb701sm315592ejq.16.2023.06.08.13.26.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jun 2023 13:26:57 -0700 (PDT) From: Alexander Mikhalitsyn To: davem@davemloft.net Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Alexander Mikhalitsyn , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Leon Romanovsky , David Ahern , Arnd Bergmann , Kees Cook , Christian Brauner , Kuniyuki Iwashima , Lennart Poettering , Luca Boccassi , linux-arch@vger.kernel.org Subject: [PATCH net-next v7 4/4] af_unix: Kconfig: make CONFIG_UNIX bool Date: Thu, 8 Jun 2023 22:26:28 +0200 Message-Id: <20230608202628.837772-5-aleksandr.mikhalitsyn@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230608202628.837772-1-aleksandr.mikhalitsyn@canonical.com> References: <20230608202628.837772-1-aleksandr.mikhalitsyn@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Let's make CONFIG_UNIX a bool instead of a tristate. We've decided to do that during discussion about SCM_PIDFD patchset [1]. [1] https://lore.kernel.org/lkml/20230524081933.44dc8bea@kernel.org/ Cc: "David S. Miller" Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni Cc: Leon Romanovsky Cc: David Ahern Cc: Arnd Bergmann Cc: Kees Cook Cc: Christian Brauner Cc: Kuniyuki Iwashima Cc: Lennart Poettering Cc: Luca Boccassi Cc: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org Cc: linux-arch@vger.kernel.org Suggested-by: Jakub Kicinski Signed-off-by: Alexander Mikhalitsyn --- net/unix/Kconfig | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/net/unix/Kconfig b/net/unix/Kconfig index b7f811216820..28b232f281ab 100644 --- a/net/unix/Kconfig +++ b/net/unix/Kconfig @@ -4,7 +4,7 @@ # config UNIX - tristate "Unix domain sockets" + bool "Unix domain sockets" help If you say Y here, you will include support for Unix domain sockets; sockets are the standard Unix mechanism for establishing and @@ -14,10 +14,6 @@ config UNIX an embedded system or something similar, you therefore definitely want to say Y here. - To compile this driver as a module, choose M here: the module will be - called unix. Note that several important services won't work - correctly if you say M here and then neglect to load the module. - Say Y unless you know what you are doing. config UNIX_SCM -- 2.34.1