Subject: Re: Deprecating SIOCGIFCONF
To: Greg Troxel <email@example.com>
From: David Laight <firstname.lastname@example.org>
Date: 11/11/2007 17:30:47
On Sun, Nov 11, 2007 at 09:38:44AM -0500, Greg Troxel wrote:
> Matthias Scheler <email@example.com> writes:
> > On Fri, Nov 09, 2007 at 11:02:48PM +0100, Martin Husemann wrote:
> >> Too bad we can't easily deprecate SIOCGIFCONF via some compile/link time
> >> message and force conversion to getifaddrs(3).
> > Can't we? We could write a wrapper for ioctl() which intercepts it.
> We could, but that would be runtime, and it would slow down every ioctl
> call, but perhaps not enough to matter.
Presumably you would make SIOCGIFCONF a function call, so no other
code would be affected.
David Laight: firstname.lastname@example.org