The unix domain "abstract namespace" problem.

John Hughes <[email protected]>
Newsgroups gmane.linux.cluster.ssic.devel
Message-ID <[email protected]>
An irritatingly large percentage of the distribution packages that need
modifying for OpenSSI just need a simple hack to replace use of an
"abstract namespace" unix domain socket with a old-fashioned filesystem
based socket in order to allow the socket to be made node-specific.

For example udev wants to use "@udevd" but we hack it to use
"/var/run/udevd_sock" (where /var/run is a CDSL).

It would be nice to do this in the kernel, to avoid an ever-growing
cascade of programs to modify.

Maybe the kernel should have a table, mapping socket addresses requested
by user programs to real ones, something like:

@udev => @/org/openssi/udev{nodenum}
@/org/freedesktop/hal/udev_event => @/org/openssi/hal/udev_event{nodenum}
...

There would need to be some interface (procfs/sysfs) to allow userspace
to define the mapping.



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.