From: GNU Libc Maintainers Date: Mon, 25 Aug 2025 19:11:05 +0000 (+0200) Subject: local-disable-ioctls X-Git-Tag: archive/raspbian/2.36-9+rpi1+deb12u13^2~62 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=94f14b6f07482be4a27954fcec827d49aa3860b2;p=glibc.git local-disable-ioctls 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. so let's make packages not believe these are available. Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name local-disable-ioctls.diff --- diff --git a/sysdeps/mach/hurd/bits/ioctls.h b/sysdeps/mach/hurd/bits/ioctls.h index 1513b8c6b..42bca652f 100644 --- a/sysdeps/mach/hurd/bits/ioctls.h +++ b/sysdeps/mach/hurd/bits/ioctls.h @@ -304,12 +304,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 */