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: <4DF7A343.2000808@linux.intel.com>
Date:	Tue, 14 Jun 2011 11:06:59 -0700
From:	"H. Peter Anvin" <hpa@...ux.intel.com>
To:	Yinghai Lu <yinghai@...nel.org>
CC:	Matthew Garrett <mjg59@...f.ucam.org>,
	Maarten Lankhorst <m.b.lankhorst@...il.com>,
	Jim Bos <jim876@...all.nl>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Greg KH <gregkh@...e.de>
Subject: Re: 2.6.39.1 immediately reboots/resets on EFI system

On 06/10/2011 05:19 PM, Yinghai Lu wrote:
> On 06/10/2011 05:00 PM, H. Peter Anvin wrote:
>> On 06/10/2011 04:55 PM, Yinghai Lu wrote:
>>>>
>>>> No, it should be, because the boot loader can control the decompress
>>>> position to avoid the problems.
>>>
>>> bootloader could find out decompressed kernel size?
>>>
>>
>> Yes, it's the init_size field in the header.
> 
> good, with relocatable_kernel, kernel_alignment, and init_size in header, bootloader could find right position for kernel.
> 

Yes, and that's the very reason for it... which unfortunately means
kernel address randomization is hard(er) because it means the kernel
wants to second-guess the boot loader again.

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