Re: Unix-domain sockets - abstract addresses

Keith Owens (kaos@ocs.com.au)
Mon, 12 Aug 2002 12:59:53 +1000


On Sun, 11 Aug 2002 21:35:05 -0500 (CDT),
Oliver Xymoron <oxymoron@waste.org> wrote:
>> > From: Keith Owens <kaos@ocs.com.au>
>> > Date: Sat, 10 Aug 2002 11:35:04 +1000
>> >
>> > af_unix.c is linked into unix.o so we have -DKBUILD_MODNAME=unix. Alas
>> > we also have -Dunix=1. __stringify(KBUILD_MODNAME) -> __stringify(unix) ->
>> > "1" instead of "unix".
>
>Might it be simpler to change the overall module name? unix.o is an
>especially poor choice of names, compiler defines aside.

I prefer that option, expect that it changes the name of a module. Not
that we haven't done that before ...

A module name of af_unix would be much better, like af_packet. It
would require changing the name of af_unix.c (source and conglomerate
objects cannot have the same basename) and a change to modutils to map
net-pf-1 to af_unix.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/