[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14 Jul 2003 21:15:01 +0200
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
I'm trying to implement the SIOCADDRT ioctl for the Hurd. I've
encountered a problem in the Hurd/glibc while doing this.
The format of an ioctl request "bits/ioctls.h" is defined. In this
request there are only 5 bits defined to store the size of a
parameter. SIOCADDRT uses "struct rtentry", a structure with the size
of 84 bytes.
So without any serious changes the ioctl cannot be implemented. Can
someone please give me some hints what to do? I can only think of
extending pfinet.defs with a pfinet_addroute instead of adding an
ioctl, but this does not solve the ioctl problem :(. Another option is
changing the size of the request from 32 bits to 64 bits, but this
will break binary compatibility for other ioctls.
- Hurd ioctls.,
Marco Gerards <=