[PATCH] Force UNIX domain sockets to be built in

From: Bodo Eggert
Date: Mon Dec 31 2007 - 07:10:13 EST


As suggested by Adrian Bunk, UNIX domain sockets should always be built in
on normal systems. This is especially true since udev needs these sockets
and fails to run if UNIX=m.

Signed-Off-By: Bodo Eggert <7eggert@xxxxxx>

---
Last minute change: I decided against making it a bool because embedded
folks might depend on a small kernel image. Edited in the patch below.

diff -X dontdiff -pruN linux-2.6.23.base/net/unix/Kconfig linux-2.6.23.socket-y/net/unix/Kconfig
--- linux-2.6.23.base/net/unix/Kconfig 2006-11-29 22:57:37.000000000 +0100
+++ linux-2.6.23.socket-y/net/unix/Kconfig 2007-12-31 12:57:44.000000000 +0100
@@ -3,7 +3,8 @@
#

config UNIX
- tristate "Unix domain sockets"
+ tristate "Unix domain sockets" if EMBEDDED
+ default y
---help---
If you say Y here, you will include support for Unix domain sockets;
sockets are the standard Unix mechanism for establishing and

--
A. Top posters
Q. What's the most annoying thing on Usenet?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/