summaryrefslogtreecommitdiff
path: root/net/unix/Makefile
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-02-08 09:01:44 -0700
committerJens Axboe <axboe@kernel.dk>2019-02-28 08:24:23 -0700
commitf4e65870e5cede5ca1ec0006b6c9803994e5f7b8 (patch)
treeb8fb35e27f64bd350bb4166a2708d7f147719fa1 /net/unix/Makefile
parentedafccee56ff31678a091ddb7219aba9b28bc3cb (diff)
downloadlwn-f4e65870e5cede5ca1ec0006b6c9803994e5f7b8.tar.gz
lwn-f4e65870e5cede5ca1ec0006b6c9803994e5f7b8.zip
net: split out functions related to registering inflight socket files
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>
Diffstat (limited to 'net/unix/Makefile')
-rw-r--r--net/unix/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/unix/Makefile b/net/unix/Makefile
index ffd0a275c3a7..54e58cc4f945 100644
--- a/net/unix/Makefile
+++ b/net/unix/Makefile
@@ -10,3 +10,5 @@ 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