From nobody Sun Feb 8 01:12:23 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EB2FA9461; Wed, 21 May 2025 15:32:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747841545; cv=none; b=kSTDdfuHUc81LFT9JM5YFPnQ5274XLIP5oWk2MvGTdhU56GhJRu7ufuPAjPDXHtY7qrH9qqz+ORoqZ1C8/8kL1WsGhnmKuw3BoVZa8TYppW7D2A8GvM+RC3t7t5J62gBYXvmNQyIo0/APndMrrAuNxCN5aJUjwBCSlcUikyFcrk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747841545; c=relaxed/simple; bh=15lq1dewDEmZRAi/ruAvpBBjnmaSB3upAZ1I3QpCEos=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=H3CbqM9MzcemIm2u1EW5+5a828KkzqPNFqFT7oRk55fwf0y0Q4LbaqDgEl5KNEC856Kj6I92uudgThHt5extuFMAoQiiDvIEsgtqla4gWZE/sM/ZET/9J8RSmircr965H4L4/5lDBKnArDbGPs7yzSXiUhcCY4vDgVuAFp7Q+rY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dO97HBnT; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dO97HBnT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40FBFC4CEE7; Wed, 21 May 2025 15:32:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1747841544; bh=15lq1dewDEmZRAi/ruAvpBBjnmaSB3upAZ1I3QpCEos=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dO97HBnTEObO2AIvtdgC8emxlz1lr9zp7b4iPXwxerWkLxkekPoJwitnoknJe1USR fpfiBSBUJohK9+gVttw2baTEaTfcvOrI8pQSXOU+bs8teKTPj+ut4dvuCNBkJGY9hO uyGuZd1mWsegzAt+nqbiDaCbYq7Hi/9zFgqtmM3FhYS5LiiXAHSNdIzNAKFMqHYCXP /DYx0xX4aBqvN2QZAF1dW2jJRSVdX1SNrxhhC7YdpOHkznmo5fAOQ1JypfKpdZEUif qZ4wEGwbTzrroGuKA7qSarwm9Vp5olCSBqw2l/sQapHPN3RK2bcT9TRhTI4SGGj6fV j+nnlwoiWhfiw== From: Lee Jones To: lee@kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Christian Brauner , Kuniyuki Iwashima , Jens Axboe , Alexander Mikhalitsyn , Sasha Levin , Michal Luczaj , Rao Shoaib , Pavel Begunkov , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Cc: stable@vger.kernel.org, Leon Romanovsky , David Ahern , Arnd Bergmann , Kees Cook , Lennart Poettering , Luca Boccassi , linux-arch@vger.kernel.org Subject: [PATCH v6.1 01/27] af_unix: Kconfig: make CONFIG_UNIX bool Date: Wed, 21 May 2025 16:27:00 +0100 Message-ID: <20250521152920.1116756-2-lee@kernel.org> X-Mailer: git-send-email 2.49.0.1143.g0be31eac6b-goog In-Reply-To: <20250521152920.1116756-1-lee@kernel.org> References: <20250521152920.1116756-1-lee@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Alexander Mikhalitsyn [ Upstream commit 97154bcf4d1b7cabefec8a72cff5fbb91d5afb7b ] 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 Signed-off-by: David S. Miller (cherry picked from commit 97154bcf4d1b7cabefec8a72cff5fbb91d5afb7b) Signed-off-by: Lee Jones --- 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 @@ # =20 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. =20 - 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. =20 config UNIX_SCM --=20 2.49.0.1143.g0be31eac6b-goog