mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 16:11:38 +00:00
f4e65870e5
We need this functionality for the io_uring file registration, but we cannot rely on it since CONFIG_UNIX can be modular. Move the helpers to a separate file, that's always builtin to the kernel if CONFIG_UNIX is m/y. No functional changes in this patch, just moving code around. Reviewed-by: Hannes Reinecke <hare@suse.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Jens Axboe <axboe@kernel.dk>
15 lines
292 B
Makefile
15 lines
292 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
|
|
|
|
obj-$(CONFIG_UNIX_DIAG) += unix_diag.o
|
|
unix_diag-y := diag.o
|
|
|
|
obj-$(CONFIG_UNIX_SCM) += scm.o
|