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: <CAE9FiQUW2QTkmT=n3jnL_s09wrSBU5u9rvzNKvCUzcz6pVEgWw@mail.gmail.com>
Date:	Tue, 16 Jul 2013 14:59:11 -0700
From:	Yinghai Lu <yinghai@...nel.org>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	Kees Cook <keescook@...omium.org>,
	"Eric W. Biederman" <ebiederm@...ssion.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Rob Landley <rob@...dley.net>,
	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>,
	"the arch/x86 maintainers" <x86@...nel.org>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
	linux-serial@...r.kernel.org
Subject: Re: [PATCH v2 1/3] x86, boot: add mmio serial during compressed boot

On Tue, Jul 16, 2013 at 12:41 PM, H. Peter Anvin <hpa@...or.com> wrote:
> On 07/16/2013 12:40 PM, Kees Cook wrote:
>>>
>>> I think setting up a dynamic #PF handler is the right thing for the
>>> decompressor, we already did for the kernel proper.
>>
>> I'm not sure how to accomplish this yet. I'm still trying to
>> understand how the page tables are arranged. :)
>>
>
> Look at the handler at the top of arch/x86/kernel/head64.c.

could extract code from arch/x86/kernel/{head64.c, head_64.S},
and share them with arch/x86/boot/compressed/{misc.c, head_64.S}

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