From patchwork Thu Jun 8 20:26:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksandr Mikhalitsyn X-Patchwork-Id: 105129 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp533378vqr; Thu, 8 Jun 2023 13:49:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4AQunQ8AXtaVxgv4DglHXISSUhfrjqq8vn8bGMZl/Sv/9xR/PxVNjpu0cj9VtfzaujozCB X-Received: by 2002:a17:903:32cf:b0:1b2:1ee9:682 with SMTP id i15-20020a17090332cf00b001b21ee90682mr8247329plr.23.1686257382023; Thu, 08 Jun 2023 13:49:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686257382; cv=none; d=google.com; s=arc-20160816; b=wlnuyWdx9r9QINe/E4w6Qf9n56xZ5IRpN2Gr6gG/YKwge/w/g/wFVufQWeUUlVNcBZ fkWWmBk3udzSgYs4JjzbLNzpAWNCr8WPTy46T2q1atl/EyrAOw+aaANgMnpH5gDRqSp6 GpleAzieypVJx6PH8scfhsD+KaIjU/N8hHVzY1S1GvLJEyQD1DmLokAA0pJsSSbcm8ov FJd0UKmwPQE8heumboUvqzdI/DPknLHbFDXOyrGtv8xbFsD1Or8qhY4KHM8c3GPfdVsf jlqlZrAxl3boDwP0AdCtLKJZUiac11f7N4xJ9+pU2d1lbW7ngxzNRrk6QjuH75GeBvGH v0OQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jx15-20020a170903138f00b001aaff9c8dd1si1461881plb.427.2023.06.08.13.49.20; Thu, 08 Jun 2023 13:49:42 -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 S236923AbjFHU1p (ORCPT + 99 others); Thu, 8 Jun 2023 16:27:45 -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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768169020695404244?= X-GMAIL-MSGID: =?utf-8?q?1768169020695404244?= 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 Acked-by: Christian Brauner Reviewed-by: Eric Dumazet --- 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