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:	Mon, 28 Dec 2009 11:34:14 -0800
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Michael Tokarev <mjt@....msk.ru>
CC:	Alain Knaff <alain@...ff.lu>,
	Tvrtko Ursulin <tvrtko.ursulin@...hos.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: 2.6.33-rc1: LZMA kernel fails to decompress

On 12/27/2009 12:19 PM, Michael Tokarev wrote:
> 
> What I think should be done here is to revert my patch (that replaces
> /bin/echo with printf, so that /bin/echo will be used) and test the
> real solution, which is to stop doing all this hackery altogether,
> and calculate the size the right way instead.  Sam already posted a
> possible solution, and it seems to be correct.
> 

Yes, but it moves the calculation from generic to x86-specific code,
which makes it problematic.

I never figured out how to make a generic rule in Kbuild (unlike in
standard GNU make) depend on a helper application, but doing a helper
application for this is probably the sane thing.

Either this, or use Perl, which handles this kind of crap sanely.  I'm
really less than half joking.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

--
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