[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hurd ioctls.

From: Marco Gerards
Subject: Hurd ioctls.
Date: 14 Jul 2003 21:15:01 +0200
User-agent: 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.

Thanks, Marco

reply via email to

[Prev in Thread] Current Thread [Next in Thread]