lkml.org 
[lkml]   [2007]   [Dec]   [31]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 31 Dec 2007 13:09:43 +0100 (CET)
FromBodo Eggert <>
Subject[PATCH] Force UNIX domain sockets to be built in
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@gmx.de>

---
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?


\
 
 \ /
  Last update: 2007-12-31 13:13    [from the cache]
©2003-2008