Re: Unix-domain sockets - abstract addresses

Eric W. Biederman (ebiederm@xmission.com)
12 Aug 2002 01:13:28 -0600


Keith Owens <kaos@ocs.com.au> writes:

> On Sun, 11 Aug 2002 20:13:14 -0700 (PDT),
> "David S. Miller" <davem@redhat.com> wrote:
> > From: Keith Owens <kaos@ocs.com.au>
> > Date: Mon, 12 Aug 2002 13:20:09 +1000
> >
> > The problem here is that 'unix' is
> > ...
> > a symbol that is defined by gcc.
> >
> >I see. GCC really shouldn't be doing that as it pollutes the global
> >namespace. However, I see current 3.x vintage gcc is still doing it
> >under Linux so there must be a reason it is kept around.
>
> Untested, against 2.5.31. It would be better to -Uunix globally but
> one header depends on it, drivers/message/fusion/lsi/mpi_type.h.

Additionally a version of stringify that did not expand macros would
also solve this problem.

Eric
-
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/