[PATCH net] af_unix: Add a prompt to CONFIG_AF_UNIX_OOB

From: Florent Revest
Date: Wed Dec 18 2024 - 09:35:29 EST


This makes it possible to disable the MSG_OOB support in .config.

Signed-off-by: Florent Revest <revest@xxxxxxxxxxxx>
---
net/unix/Kconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net/unix/Kconfig b/net/unix/Kconfig
index 8b5d04210d7cf..6f1783c1659b8 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"
--
2.47.1.613.gc27f4b7a9f-goog