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]
Date:	Wed, 6 Jun 2007 13:51:30 +0100
From:	Christoph Hellwig <hch@...radead.org>
To:	Nitin Gupta <nitingupta910@...il.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Daniel Hazelton <dhazelton@...er.net>,
	Richard Purdie <richard@...nedhand.com>
Subject: Re: [RFC] LZO de/compression support - take 7

On Wed, Jun 06, 2007 at 06:04:17PM +0530, Nitin Gupta wrote:
> Hi,
> 
> This is kernel port of LZO1X-1 compressor and LZO1X decompressor (safe
> version only).
> 
> * Changes since 'take 6' (Full Changelog after this):
> 1) Fixed unaligned memory access problems as pointed out by author --
> LZO_UNALIGNED_OK_{2,4} collapsed to UNALIGNED_OK which is #defined for
> archs that allow unaligned access (see lib/lzo1x/Makefile). For other
> archs, we fall down to byte-by-byte access avoiding any unaligned
> access. In original code, LZO_UNALIGNED_OK_{2,4} resp. describe if we
> can do unaligned access for ushort and uint32.

Please use get_unaligned() for any unaligned access in kernel space.

-
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