summaryrefslogtreecommitdiffstats
path: root/net/unix/Kconfig
diff options
context:
space:
mode:
authorJens Axboe2019-02-08 17:01:44 +0100
committerJens Axboe2019-02-28 16:24:23 +0100
commitf4e65870e5cede5ca1ec0006b6c9803994e5f7b8 (patch)
treeb8fb35e27f64bd350bb4166a2708d7f147719fa1 /net/unix/Kconfig
parentio_uring: add support for pre-mapped user IO buffers (diff)
downloadkernel-qcow2-linux-f4e65870e5cede5ca1ec0006b6c9803994e5f7b8.tar.gz
kernel-qcow2-linux-f4e65870e5cede5ca1ec0006b6c9803994e5f7b8.tar.xz
kernel-qcow2-linux-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/Kconfig')
-rw-r--r--net/unix/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/unix/Kconfig b/net/unix/Kconfig
index 8b31ab85d050..3b9e450656a4 100644
--- a/net/unix/Kconfig
+++ b/net/unix/Kconfig
@@ -19,6 +19,11 @@ config UNIX
Say Y unless you know what you are doing.
+config UNIX_SCM
+ bool
+ depends on UNIX
+ default y
+
config UNIX_DIAG
tristate "UNIX: socket monitoring interface"
depends on UNIX