mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-11 13:04:03 +08:00
97154bcf4d
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" <davem@davemloft.net> Cc: Eric Dumazet <edumazet@google.com> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Paolo Abeni <pabeni@redhat.com> Cc: Leon Romanovsky <leon@kernel.org> Cc: David Ahern <dsahern@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Kees Cook <keescook@chromium.org> Cc: Christian Brauner <brauner@kernel.org> Cc: Kuniyuki Iwashima <kuniyu@amazon.com> Cc: Lennart Poettering <mzxreary@0pointer.de> Cc: Luca Boccassi <bluca@debian.org> Cc: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org Cc: linux-arch@vger.kernel.org Suggested-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com> Acked-by: Christian Brauner <brauner@kernel.org> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
36 lines
887 B
Plaintext
36 lines
887 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Unix Domain Sockets
|
|
#
|
|
|
|
config UNIX
|
|
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
|
|
accessing network connections. Many commonly used programs such as
|
|
the X Window system and syslog use these sockets even if your
|
|
machine is not connected to any network. Unless you are working on
|
|
an embedded system or something similar, you therefore definitely
|
|
want to say Y here.
|
|
|
|
Say Y unless you know what you are doing.
|
|
|
|
config UNIX_SCM
|
|
bool
|
|
depends on UNIX
|
|
default y
|
|
|
|
config AF_UNIX_OOB
|
|
bool
|
|
depends on UNIX
|
|
default y
|
|
|
|
config UNIX_DIAG
|
|
tristate "UNIX: socket monitoring interface"
|
|
depends on UNIX
|
|
default n
|
|
help
|
|
Support for UNIX socket monitoring interface used by the ss tool.
|
|
If unsure, say Y.
|