mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 22:34:33 +01:00
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 <[email protected]> Acked-by: Jens Axboe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
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
|