Re: [NETLINK]: Schedule removal of old macros exported to userspace

From: Thomas Graf
Date: Sat Dec 09 2006 - 07:55:41 EST


* Stefan Rompf <stefan@xxxxxxxxx> 2006-12-09 12:49
> Am Samstag, 9. Dezember 2006 11:39 schrieb Thomas Graf:
>
> [Added linux-kernel to CC]
>
> > Index: net-2.6/Documentation/feature-removal-schedule.txt
> > ===================================================================
> > --- net-2.6.orig/Documentation/feature-removal-schedule.txt 2006-12-09
>
> NAK.
>
> > +What: Netlink message and attribute parsing macros
> > +When: July 2007
> > +Why: The old interface which often lead to buggy code has been replaced
> > + with a new type safe interface. Parts of this interface, mainly
> > + macros, has been exported to userspace via linux/netlink.h and
> > + linux/rtnetlink.h. Use of this interface is discontinued, all
> > helper + and utility macros will be removed. Userspace applications
> > should use + one of the available libraries.
> > +Who: Thomas Graf <tgraf@xxxxxxx>
>
> So glibc should be linked to libnl that depends on glibc to compile? Be
> serious!

Please calm down a bit. I didn't claim that glibc should be linking to
libnl. glibc is obviously a special case which can simply copy the existing
macros into some internal compat header just like any other application
that doesn't wish to use any of the libraries available.

The point is to stop new applications from using the interface which has
resulted in buggy code in the past.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/