mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-28 16:52:18 +00:00
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>
14 lines
300 B
Makefile
14 lines
300 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the Linux unix domain socket layer.
|
|
#
|
|
|
|
obj-$(CONFIG_UNIX) += unix.o
|
|
|
|
unix-y := af_unix.o garbage.o
|
|
unix-$(CONFIG_SYSCTL) += sysctl_net_unix.o
|
|
unix-$(CONFIG_BPF_SYSCALL) += unix_bpf.o
|
|
|
|
obj-$(CONFIG_UNIX_DIAG) += unix_diag.o
|
|
unix_diag-y := diag.o
|