diff options
author | Rao Shoaib <rao.shoaib@oracle.com> | 2021-08-01 00:57:07 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-04 09:55:52 +0100 |
commit | 314001f0bf927015e459c9d387d62a231fe93af3 (patch) | |
tree | 3f5a7d31a347e495833cffdbd638852111bbb78c /net/unix/Kconfig | |
parent | 7e89350c901923c48370ae7b922223c6c5a2b7fd (diff) | |
download | linux-314001f0bf927015e459c9d387d62a231fe93af3.tar.gz linux-314001f0bf927015e459c9d387d62a231fe93af3.tar.bz2 linux-314001f0bf927015e459c9d387d62a231fe93af3.zip |
af_unix: Add OOB support
This patch adds OOB support for AF_UNIX sockets.
The semantics is same as TCP.
The last byte of a message with the OOB flag is
treated as the OOB byte. The byte is separated into
a skb and a pointer to the skb is stored in unix_sock.
The pointer is used to enforce OOB semantics.
Signed-off-by: Rao Shoaib <rao.shoaib@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/Kconfig')
-rw-r--r-- | net/unix/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/unix/Kconfig b/net/unix/Kconfig index b6c4282899ec..b7f811216820 100644 --- a/net/unix/Kconfig +++ b/net/unix/Kconfig @@ -25,6 +25,11 @@ config UNIX_SCM depends on UNIX default y +config AF_UNIX_OOB + bool + depends on UNIX + default y + config UNIX_DIAG tristate "UNIX: socket monitoring interface" depends on UNIX |