]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
unix_diag: Write it into kbuild
authorPavel Emelyanov <xemul@parallels.com>
Thu, 15 Dec 2011 02:46:50 +0000 (02:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Dec 2011 18:48:29 +0000 (13:48 -0500)
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/Kconfig
net/unix/Makefile

index 5a69733bcdadbfcbbca874083a0e950cd27bb9f2..c2128b10e5f98fe3d4c409c1314247f67512ccfc 100644 (file)
@@ -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.
index b852a2bde9a8f03b7a5f3615024b0ed02774f98c..b663c607b1c613e875501cec703a439e1ca0bce3 100644 (file)
@@ -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