On Tuesday, November 05, 2013 5:29:48 am Gleb Smirnoff wrote: > Author: glebius > Date: Tue Nov 5 10:29:47 2013 > New Revision: 257696 > URL: http://svnweb.freebsd.org/changeset/base/257696 > > Log: > Drop support for historic ioctls and also undefine them, so that code > that checks their presence via ifdef, won't use them.
Most of these are COMPAT_43, but one appears to be a 9.x ioctl? If that's the case it's implementation should probably stick around under appropriate COMPAT_FREEBSD<x> macros. It looks like it goes all the way back to 4.4BSD, so at least COMPAT_FREEBSD4 and later should define the implementation to preserve ABI compat for old binaries. > Modified: head/sys/sys/sockio.h > ============================================================================== > --- head/sys/sys/sockio.h Tue Nov 5 09:46:01 2013 (r257695) > +++ head/sys/sys/sockio.h Tue Nov 5 10:29:47 2013 (r257696) > #define SIOCGIFMETRIC _IOWR('i', 23, struct ifreq) /* get IF > metric */ > #define SIOCSIFMETRIC _IOW('i', 24, struct ifreq) /* set IF > metric */ > #define SIOCDIFADDR _IOW('i', 25, struct ifreq) /* delete IF > addr */ > -#define OSIOCAIFADDR _IOW('i', 26, struct oifaliasreq)/* add/chg IF > alias */ > +/* OSIOCAIFADDR _IOW('i', 26, struct oifaliasreq) FreeBSD 9.x */ > #define SIOCALIFADDR _IOW('i', 27, struct if_laddrreq) /* add IF > addr */ > #define SIOCGLIFADDR _IOWR('i', 28, struct if_laddrreq) /* get IF > addr */ > #define SIOCDLIFADDR _IOW('i', 29, struct if_laddrreq) /* delete IF > addr */ -- John Baldwin _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"