Browse Source

unix_diag: Write it into kbuild

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Pavel Emelyanov 13 years ago
parent
commit
5d531aaa64
2 changed files with 10 additions and 0 deletions
  1. 7 0
      net/unix/Kconfig
  2. 3 0
      net/unix/Makefile

+ 7 - 0
net/unix/Kconfig

@@ -19,3 +19,10 @@ config UNIX
 
 
 	  Say Y unless you know what you are doing.
 	  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.

+ 3 - 0
net/unix/Makefile

@@ -6,3 +6,6 @@ obj-$(CONFIG_UNIX)	+= unix.o
 
 
 unix-y			:= af_unix.o garbage.o
 unix-y			:= af_unix.o garbage.o
 unix-$(CONFIG_SYSCTL)	+= sysctl_net_unix.o
 unix-$(CONFIG_SYSCTL)	+= sysctl_net_unix.o
+
+obj-$(CONFIG_UNIX_DIAG)	+= unix_diag.o
+unix_diag-y		:= diag.o