lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20061209.134552.71105673.davem@davemloft.net>
Date:	Sat, 09 Dec 2006 13:45:52 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	tgraf@...g.ch
Cc:	drow@...se.org, stefan@...lof.de, dwmw2@...radead.org,
	joseph@...esourcery.com, netdev@...r.kernel.org,
	libc-alpha@...rceware.org, akpm@...l.org
Subject: Re: [NETLINK]: Schedule removal of old macros exported to userspace

From: Thomas Graf <tgraf@...g.ch>
Date: Sat, 9 Dec 2006 11:39:53 +0100

> +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@...g.ch>

You can't deprecate stuff visible to userspace, sorry Thomas,
we just can't do it.

You can migrate people to "better" interfaces, but you can't
pull the rug out from anyone once things like this are visible
to userspace.  It's permanently there, and we have to live with
that.

Once idea I have is that you could tag these things as
"deprecated" by making them use inline functions or similar
and adding the deprecated GCC attribute to them.  I'd be
very happy to include a patch like that.

This way userland gets the warning and people building it (and
in particular the developer) will see that they have something
to fix up.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ