Date: Tue, 10 May 2016 19:44:07 +0200 From: Borislav Petkov <bp@...e.de> To: Kees Cook <keescook@...omium.org> Cc: Ingo Molnar <mingo@...nel.org>, Yinghai Lu <yinghai@...nel.org>, Baoquan He <bhe@...hat.com>, Ingo Molnar <mingo@...hat.com>, "H. Peter Anvin" <hpa@...or.com>, Vivek Goyal <vgoyal@...hat.com>, Andy Lutomirski <luto@...nel.org>, lasse.collin@...aani.org, Andrew Morton <akpm@...ux-foundation.org>, Dave Young <dyoung@...hat.com>, kernel-hardening@...ts.openwall.com, LKML <linux-kernel@...r.kernel.org> Subject: Re: [PATCH v8 1/4] x86/KASLR: Clarify identity map interface On Tue, May 10, 2016 at 10:19:12AM -0700, Kees Cook wrote: > This extracts the call to prepare_level4() into a top-level function > that the user of the pagetable.c interface must call to initialize > the new page tables. For clarity and to match the "finalize" function, > it has been renamed to initialize_identity_maps(). This function also > gains the initialization of mapping_info so we don't have to do it each > time in add_identity_map(). > > Additionally add copyright notice to the top, to make it clear that the > bulk of the pagetable.c code was written by Yinghai, and that I just > added bugs later. :) > > Signed-off-by: Kees Cook <keescook@...omium.org> > --- > arch/x86/boot/compressed/kaslr.c | 3 +++ > arch/x86/boot/compressed/misc.h | 3 +++ > arch/x86/boot/compressed/pagetable.c | 26 ++++++++++++++++---------- > 3 files changed, 22 insertions(+), 10 deletions(-) Exactly! Acked-by: Borislav Petkov <bp@...e.de> -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.