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: <20091221204802.GA70740@trillian.local>
Date:	Mon, 21 Dec 2009 21:48:03 +0100
From:	Michael Guntsche <mike@...loops.com>
To:	Michael Tokarev <mjt@....msk.ru>
Cc:	Michal Marek <mmarek@...e.cz>, Sam Ravnborg <sam@...nborg.org>,
	Oliver Hartkopp <oliver@...tkopp.net>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	Andreas Schwab <schwab@...ux-m68k.org>
Subject: Re: [PATCH] kbuild: correct size calculation of bzImgae / fix x86
 boot

On 2009.12.21 22:53:54 , Michael Tokarev wrote:
> Michael Guntsche wrote:
> > Just a quick update from my side. I tried the patch from Andreas and build a kernel
> > with dash as defaulti shell. I was able to boot the resulting kernel image
> > without any problems.
> 
> That's not a good test case.  Because even with bogus data the kernel might
> boot: for example, allocating alot more memory for the unpacking than necessary -
> it does not crash but the data is still bogus.
> 
> The better (and much faster) check is to verify that the z_output_len value
> in arch/x86/boot/compressed/piggy.S matches the size of
> arch/x86/boot/compressed/vmlinuz.bin.

Looks ok for me.

piggy.S:
z_output_len = 3550876

ls -la vmlinux.bin:
-rwxr-xr-x 1 root root 3550876 Dec 21 17:21 vmlinux.bin


Kind regards,
Michael
--
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