99a7a5b994
Originally, the code related to garbage collection was all in garbage.c. Commitf4e65870e5
("net: split out functions related to registering inflight socket files") moved some functions to scm.c for io_uring and added CONFIG_UNIX_SCM just in case AF_UNIX was built as module. However, since commit97154bcf4d
("af_unix: Kconfig: make CONFIG_UNIX bool"), AF_UNIX is no longer built separately. Also, io_uring does not support SCM_RIGHTS now. Let's move the functions back to garbage.c Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Acked-by: Jens Axboe <axboe@kernel.dk> Link: https://lore.kernel.org/r/20240129190435.57228-4-kuniyu@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
31 lines
836 B
Plaintext
31 lines
836 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 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.
|