Re: Unix-domain sockets - abstract addresses

From: Roman Zippel (zippel@linux-m68k.org)
Date: Sat Aug 10 2002 - 05:59:17 EST


Hi,

On Sat, 10 Aug 2002, Keith Owens wrote:

> Adding a constant prefix to every label and string will increase the
> size of the kernel. I would much rather find a way for cpp to strip
> quotes from a #define, then -DKBUILD_OBJECT=\"unix\" has no problems.
> But I don't know any cpp construct to convert KBUILD_OBJECT ("unix") to
> bare 'unix' without the quotes. Undefining conflicting names is tacky
> but it has the least (zero) impact on the kernel size.

I think prepending an underscore would also be an acceptable solution. The
size increase is minimal and it's easy to remove from the stringified
name.

bye, Roman

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



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:21 EST