Hi Johannes,

Johannes Berg [2006-05-12 15:54 +0200]:
> > Thank you! BTW, do you happen to have any pointer about documentation
> > of that ioctl?
> 
> linux sources :)

Heh :)

> I've looked into it and I'm pretty sure my patch is correct. On little
> endian 32-bit systems, the code simply copies the kernel bitmap which is
> long (32bit) based, on 64-bit systems and 64-bit clients the same
> happens as far as I can tell, although longs are then 64-bit based.
> 
> Only on 64-bit kernel with 32-bit userland things may need fixing up
> (only in the big endian case though, since on little-endian all the
> things are equivalent anyway!), which is done in the kernel.

Please note that the crashes were reported on i386 and amd64, both of
which are little endian.

Thanks,

Martin
-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?

Attachment: signature.asc
Description: Digital signature

Reply via email to