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] [thread-next>] [day] [month] [year] [list]
Message-Id: <201010151051.05241.arnd@arndb.de>
Date:	Fri, 15 Oct 2010 10:51:04 +0200
From:	Arnd Bergmann <arnd@...db.de>
To:	Eric Paris <eparis@...hat.com>
Cc:	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
	jengelh@...ozas.de, davem@...emloft.net, andi@...stfloor.org
Subject: Re: [PATCH] types.h: define __aligned_u64 and expose to userspace

On Friday 15 October 2010 06:24:55 Eric Paris wrote:
> We currently have a kernel internal type called aligned_u64 which aligns
> __u64's on 8 bytes boundaries even on systems which would normally align
> them on 4 byte boundaries.  This patch creates a new type __aligned_u64
> which does the same thing but which is exposed to userspace rather than
> being kernel internal.
> 
> Based-on-patch-by: Andreas Gruenbacher <agruen@...e.de>
> Signed-off-by: Eric Paris <eparis@...hat.com>

We should have done this long ago.

Acked-by: Arnd Bergmann <arnd@...db.de>

BTW, why a define, not a typedef? Probably doesn't really matter in the end,
I just wonder if the define has any advantages here.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ