lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <468365CD.7050803@katalix.com>
Date:	Thu, 28 Jun 2007 08:39:57 +0100
From:	James Chapman <jchapman@...alix.com>
To:	David Miller <davem@...emloft.net>
CC:	netdev@...r.kernel.org
Subject: Re: [PATCH 2/5 2.6.22-rc6] L2TP: Changes to existing ppp and socket
 kernel headers for L2TP

David Miller wrote:

> This is going to cause problems on compat platforms where
> __u64 is aligned on an 8-byte boundary on the 64-bit
> variant but it is not on the 32-bit cpu variant.
> 
> A way to avoid this is to use the aligned_u64 type from
> linux/types.h which ensures 8-byte alignment on all
> platforms and thus you won't need to provide s compat
> ioctl() handler for your statistics ioctl().

Thanks for the info. I wasn't aware of aligned_u64.

> I'll make this change for you so we don't have to go
> back and forth again just for this.

Thanks!

-- 
James Chapman
Katalix Systems Ltd
http://www.katalix.com
Catalysts for your Embedded Linux software development

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ