From 5155cbcdbf03f207095f9a3794942a25aa7e5f58 Mon Sep 17 00:00:00 2001 From: Florent Revest Date: Wed, 18 Dec 2024 15:33:34 +0100 Subject: [PATCH] af_unix: Add a prompt to CONFIG_AF_UNIX_OOB This makes it possible to disable the MSG_OOB support in .config. Signed-off-by: Florent Revest Reviewed-by: Eric Dumazet Link: https://patch.msgid.link/20241218143334.1507465-1-revest@chromium.org Signed-off-by: Jakub Kicinski --- net/unix/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/unix/Kconfig b/net/unix/Kconfig index 8b5d04210d7c..6f1783c1659b 100644 --- a/net/unix/Kconfig +++ b/net/unix/Kconfig @@ -17,9 +17,11 @@ config UNIX Say Y unless you know what you are doing. config AF_UNIX_OOB - bool + bool "UNIX: out-of-bound messages" depends on UNIX default y + help + Support for MSG_OOB in UNIX domain sockets. If unsure, say Y. config UNIX_DIAG tristate "UNIX: socket monitoring interface"