Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2013 11:56:09 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r257696 - in head: libexec/rbootd share/man/man9 sys/compat/svr4 sys/net sys/sys
Message-ID:  <201311051156.09819.jhb@freebsd.org>
In-Reply-To: <201311051029.rA5ATmmM017799@svn.freebsd.org>
References:  <201311051029.rA5ATmmM017799@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311051156.09819.jhb>