Skip to content

Commit

Permalink
af_unix: Add a prompt to CONFIG_AF_UNIX_OOB
Browse files Browse the repository at this point in the history
This makes it possible to disable the MSG_OOB support in .config.

Signed-off-by: Florent Revest <revest@chromium.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20241218143334.1507465-1-revest@chromium.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Florent Revest authored and Jakub Kicinski committed Dec 20, 2024
1 parent 6724bc6 commit 5155cbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion net/unix/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5155cbc

Please sign in to comment.