Re: Kill deprecated IPv6 ioctl(2)s

2017-10-26 Thread Jonathan Gray
On Wed, Oct 25, 2017 at 12:20:45PM +0200, Martin Pieuchot wrote: > Diff below remove some more deprecated ioctl(2). The first group below > correspond to features now deprecated by slaacd(8): > > SIOCSIFINFO_FLAGS, SIOCSNDFLUSH_IN6, SIOCSPFXFLUSH_IN6, SIOCSRTRFLUSH_IN6 > > Removing those

Re: Kill deprecated IPv6 ioctl(2)s

2017-10-25 Thread Florian Obser
OK florian@ On Wed, Oct 25, 2017 at 10:20:45AM +, Martin Pieuchot wrote: > Diff below remove some more deprecated ioctl(2). The first group below > correspond to features now deprecated by slaacd(8): > > SIOCSIFINFO_FLAGS, SIOCSNDFLUSH_IN6, SIOCSPFXFLUSH_IN6, SIOCSRTRFLUSH_IN6 > >

Re: Kill deprecated IPv6 ioctl(2)s

2017-10-25 Thread Martin Pieuchot
On 25/10/17(Wed) 14:17, Stuart Henderson wrote: > On 2017/10/25 12:20, Martin Pieuchot wrote: > > The second group of ioctl(2)s is not used in base and should be used > > conditionally in ports, so it should be safe: > > SIOCGIFADDR_IN6, SIOCGIFSTAT_IN6, SIOCGIFSTAT_ICMP6 > > "should" :-)

Re: Kill deprecated IPv6 ioctl(2)s

2017-10-25 Thread Stuart Henderson
On 2017/10/25 12:20, Martin Pieuchot wrote: > The second group of ioctl(2)s is not used in base and should be used > conditionally in ports, so it should be safe: > SIOCGIFADDR_IN6, SIOCGIFSTAT_IN6, SIOCGIFSTAT_ICMP6 "should" :-) Net-SNMP uses SIOCGIFSTAT_IN6 without a guard in

Re: Kill deprecated IPv6 ioctl(2)s

2017-10-25 Thread Florian Obser
On Wed, Oct 25, 2017 at 10:56:40AM +, Martin Pieuchot wrote: > On 25/10/17(Wed) 21:53, Jonathan Gray wrote: > > On Wed, Oct 25, 2017 at 12:20:45PM +0200, Martin Pieuchot wrote: > > > Diff below remove some more deprecated ioctl(2). The first group below > > > correspond to features now

Re: Kill deprecated IPv6 ioctl(2)s

2017-10-25 Thread Jonathan Gray
On Wed, Oct 25, 2017 at 12:56:40PM +0200, Martin Pieuchot wrote: > On 25/10/17(Wed) 21:53, Jonathan Gray wrote: > > On Wed, Oct 25, 2017 at 12:20:45PM +0200, Martin Pieuchot wrote: > > > Diff below remove some more deprecated ioctl(2). The first group below > > > correspond to features now

Re: Kill deprecated IPv6 ioctl(2)s

2017-10-25 Thread Martin Pieuchot
On 25/10/17(Wed) 21:53, Jonathan Gray wrote: > On Wed, Oct 25, 2017 at 12:20:45PM +0200, Martin Pieuchot wrote: > > Diff below remove some more deprecated ioctl(2). The first group below > > correspond to features now deprecated by slaacd(8): > > > > SIOCSIFINFO_FLAGS, SIOCSNDFLUSH_IN6,

Kill deprecated IPv6 ioctl(2)s

2017-10-25 Thread Martin Pieuchot
Diff below remove some more deprecated ioctl(2). The first group below correspond to features now deprecated by slaacd(8): SIOCSIFINFO_FLAGS, SIOCSNDFLUSH_IN6, SIOCSPFXFLUSH_IN6, SIOCSRTRFLUSH_IN6 Removing those might break some ports. This is good! Because now they are broken at compile