Author: sthibault
Date: 2009-10-31 12:12:03 +0000 (Sat, 31 Oct 2009)
New Revision: 3920

Added:
   glibc-package/trunk/debian/patches/hurd-i386/local-disable-ioctls.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * patches/hurd-i386/local-disable-ioctls.diff: New patch to disable some
    non-working ioctls.


Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog        2009-10-31 12:04:51 UTC (rev 
3919)
+++ glibc-package/trunk/debian/changelog        2009-10-31 12:12:03 UTC (rev 
3920)
@@ -18,6 +18,10 @@
   * Switch to the more common xz format from lzma for eglibc-source 
     tarball.
 
+  [ Samuel Thibault ]
+  * patches/hurd-i386/local-disable-ioctls.diff: New patch to disable some
+    non-working ioctls.
+
  -- Aurelien Jarno <[email protected]>  Fri, 30 Oct 2009 09:48:09 +0100
 
 eglibc (2.10.1-3) unstable; urgency=low

Added: glibc-package/trunk/debian/patches/hurd-i386/local-disable-ioctls.diff
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/local-disable-ioctls.diff      
                        (rev 0)
+++ glibc-package/trunk/debian/patches/hurd-i386/local-disable-ioctls.diff      
2009-10-31 12:12:03 UTC (rev 3920)
@@ -0,0 +1,39 @@
+struct ortentry and struct ifalias req are actually not defined
+struct arpreq is defined, but can not be passed to an ioctl on the Hurd.
+
+---
+ ioctls.h |    6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/sysdeps/mach/hurd/bits/ioctls.h b/sysdeps/mach/hurd/bits/ioctls.h
+index 8718aac..10dd4ff 100644
+--- a/sysdeps/mach/hurd/bits/ioctls.h
++++ b/sysdeps/mach/hurd/bits/ioctls.h
+@@ -260,8 +271,10 @@ enum __ioctl_datum { IOC_8, IOC_16, IOC_32, IOC_64 };
+ #define       SIOCSPGRP       _IOW('s',  8, int)              /* set process 
group */
+ #define       SIOCGPGRP       _IOR('s',  9, int)              /* get process 
group */
+ 
++#if 0
+ #define       SIOCADDRT       _IOW('r', 10, struct ortentry)  /* add route */
+ #define       SIOCDELRT       _IOW('r', 11, struct ortentry)  /* delete route 
*/
++#endif
+ 
+ #define       SIOCSIFADDR     _IOW('i', 12, struct ifreq)     /* set ifnet 
address */
+ #define       OSIOCGIFADDR    _IOWR('i',13, struct ifreq)     /* get ifnet 
address */
+@@ -283,12 +296,16 @@ enum __ioctl_datum { IOC_8, IOC_16, IOC_32, IOC_64 };
+ #define       SIOCGIFMETRIC   _IOWR('i',23, struct ifreq_int) /* get IF 
metric */
+ #define       SIOCSIFMETRIC   _IOW('i',24, struct ifreq_int)  /* set IF 
metric */
+ #define       SIOCDIFADDR     _IOW('i',25, struct ifreq)      /* delete IF 
addr */
++#if 0
+ #define       SIOCAIFADDR     _IOW('i',26, struct ifaliasreq) /* add/chg IF 
alias */
++#endif
+ 
++#if 0
+ #define       SIOCSARP        _IOW('i', 30, struct arpreq)    /* set arp 
entry */
+ #define       OSIOCGARP       _IOWR('i',31, struct arpreq)    /* get arp 
entry */
+ #define       SIOCGARP        _IOWR('i',38, struct arpreq)    /* get arp 
entry */
+ #define       SIOCDARP        _IOW('i', 32, struct arpreq)    /* delete arp 
entry */
++#endif
+ 
+ #define SIOCGIFMTU    _IOWR('i', 51, struct ifreq_int)/* get IF mtu */
+ #define SIOCSIFMTU    _IOW('i', 52, struct ifreq_int) /* set IF mtu */

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series   2009-10-31 12:04:51 UTC (rev 
3919)
+++ glibc-package/trunk/debian/patches/series   2009-10-31 12:12:03 UTC (rev 
3920)
@@ -106,6 +106,7 @@
 hurd-i386/cvs-termios-IXANY.patch
 hurd-i386/submitted-SOL_IP.patch
 hurd-i386/local-bigmem.diff
+hurd-i386/local-disable-ioctls.diff
 
 ia64/submitted-sysconf.diff
 ia64/submitted-libm.diff


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to