summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@parallels.com>2011-12-15 02:46:50 +0000
committerDavid S. Miller <davem@davemloft.net>2011-12-16 13:48:29 -0500
commit5d531aaa64a06622874f06e5068b8eefca048feb (patch)
tree17292670bb57e03ca6f845c96c6aa79516adff22
parentcbf391958afb9b82c72324a15891eb3102200085 (diff)
downloadop-kernel-dev-5d531aaa64a06622874f06e5068b8eefca048feb.zip
op-kernel-dev-5d531aaa64a06622874f06e5068b8eefca048feb.tar.gz
unix_diag: Write it into kbuild
Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/unix/Kconfig7
-rw-r--r--net/unix/Makefile3
2 files changed, 10 insertions, 0 deletions
diff --git a/net/unix/Kconfig b/net/unix/Kconfig
index 5a69733..c2128b10 100644
--- a/net/unix/Kconfig
+++ b/net/unix/Kconfig
@@ -19,3 +19,10 @@ config UNIX
Say Y unless you know what you are doing.
+config UNIX_DIAG
+ tristate "UNIX: socket monitoring interface"
+ depends on UNIX
+ default UNIX
+ ---help---
+ Support for UNIX socket monitoring interface used by the ss tool.
+ If unsure, say Y.
diff --git a/net/unix/Makefile b/net/unix/Makefile
index b852a2b..b663c60 100644
--- a/net/unix/Makefile
+++ b/net/unix/Makefile
@@ -6,3 +6,6 @@ obj-$(CONFIG_UNIX) += unix.o
unix-y := af_unix.o garbage.o
unix-$(CONFIG_SYSCTL) += sysctl_net_unix.o
+
+obj-$(CONFIG_UNIX_DIAG) += unix_diag.o
+unix_diag-y := diag.o
OpenPOWER on IntegriCloud