From owner-svn-src-head@FreeBSD.ORG Tue Nov 5 18:23:19 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 02DAC90; Tue, 5 Nov 2013 18:23:19 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CFF122C2F; Tue, 5 Nov 2013 18:23:18 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id DCA7FB96E; Tue, 5 Nov 2013 13:23:17 -0500 (EST) From: John Baldwin To: Gleb Smirnoff Subject: Re: svn commit: r257696 - in head: libexec/rbootd share/man/man9 sys/compat/svr4 sys/net sys/sys Date: Tue, 5 Nov 2013 11:56:09 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20130906; KDE/4.5.5; amd64; ; ) References: <201311051029.rA5ATmmM017799@svn.freebsd.org> In-Reply-To: <201311051029.rA5ATmmM017799@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201311051156.09819.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 05 Nov 2013 13:23:18 -0500 (EST) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Nov 2013 18:23:19 -0000 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 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