Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2011 11:23:52 +0400 (MSK)
From:      Gleb Smirnoff <glebius@cell.glebius.int.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/163524: [exp-run] estimate number of ports utilizing old interface ioctls
Message-ID:  <201112220723.pBM7NqrI087470@cell.glebius.int.ru>
Resent-Message-ID: <201112220730.pBM7UBXx017490@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163524
>Category:       ports
>Synopsis:       [exp-run] estimate number of ports utilizing old interface ioctls
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 22 07:30:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Gleb Smirnoff
>Release:        FreeBSD 9.0-RC1 i386
>Organization:
FreeBSD
>Environment:
System: FreeBSD cell.glebius.int.ru 9.0-RC1 FreeBSD 9.0-RC1 #3: Mon Oct 31 18:26:17 MSK 2011 glebius@cell.glebius.int.ru:/usr/obj/usr/src/sys/NUCLEUS i386
>Description:
  Dear portmgr team,
   
  can you please assist me in determining how much software
in our ports database may use some 80-ish ioctls? I need an
-exp run results with modified /usr/include/sys/sockio.h.
   
The patch is attached.
>How-To-Repeat:
>Fix:
Index: sockio.h
===================================================================
--- sockio.h	(revision 228787)
+++ sockio.h	(working copy)
@@ -49,22 +49,18 @@
 #define	SIOCGETVIFCNT	_IOWR('r', 15, struct sioc_vif_req)/* get vif pkt cnt */
 #define	SIOCGETSGCNT	_IOWR('r', 16, struct sioc_sg_req) /* get s,g pkt cnt */
 
-#define	SIOCSIFADDR	 _IOW('i', 12, struct ifreq)	/* set ifnet address */
 #define	OSIOCGIFADDR	_IOWR('i', 13, struct ifreq)	/* get ifnet address */
 #define	SIOCGIFADDR	_IOWR('i', 33, struct ifreq)	/* get ifnet address */
-#define	SIOCSIFDSTADDR	 _IOW('i', 14, struct ifreq)	/* set p-p address */
 #define	OSIOCGIFDSTADDR	_IOWR('i', 15, struct ifreq)	/* get p-p address */
 #define	SIOCGIFDSTADDR	_IOWR('i', 34, struct ifreq)	/* get p-p address */
 #define	SIOCSIFFLAGS	 _IOW('i', 16, struct ifreq)	/* set ifnet flags */
 #define	SIOCGIFFLAGS	_IOWR('i', 17, struct ifreq)	/* get ifnet flags */
 #define	OSIOCGIFBRDADDR	_IOWR('i', 18, struct ifreq)	/* get broadcast addr */
 #define	SIOCGIFBRDADDR	_IOWR('i', 35, struct ifreq)	/* get broadcast addr */
-#define	SIOCSIFBRDADDR	 _IOW('i', 19, struct ifreq)	/* set broadcast addr */
 #define	OSIOCGIFCONF	_IOWR('i', 20, struct ifconf)	/* get ifnet list */
 #define	SIOCGIFCONF	_IOWR('i', 36, struct ifconf)	/* get ifnet list */
 #define	OSIOCGIFNETMASK	_IOWR('i', 21, struct ifreq)	/* get net addr mask */
 #define	SIOCGIFNETMASK	_IOWR('i', 37, struct ifreq)	/* get net addr mask */
-#define	SIOCSIFNETMASK	 _IOW('i', 22, struct ifreq)	/* set net addr mask */
 #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 */
>Release-Note:
>Audit-Trail:
>Unformatted:



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