|
Message-ID: <20160121162056.GG2510@codeblueprint.co.uk> Date: Thu, 21 Jan 2016 16:20:56 +0000 From: Matt Fleming <matt@...eblueprint.co.uk> To: Ard Biesheuvel <ard.biesheuvel@...aro.org> Cc: linux-arm-kernel@...ts.infradead.org, kernel-hardening@...ts.openwall.com, will.deacon@....com, catalin.marinas@....com, mark.rutland@....com, leif.lindholm@...aro.org, keescook@...omium.org, linux-kernel@...r.kernel.org, stuart.yoder@...escale.com, bhupesh.sharma@...escale.com, arnd@...db.de, marc.zyngier@....com, christoffer.dall@...aro.org Subject: Re: [PATCH v3 20/21] efi: stub: use high allocation for converted command line On Mon, 11 Jan, at 02:19:14PM, Ard Biesheuvel wrote: > Before we can move the command line processing before the allocation > of the kernel, which is required for detecting the 'nokaslr' option > which controls that allocation, move the converted command line higher > up in memory, to prevent it from interfering with the kernel itself. > > Since x86 needs the address to fit in 32 bits, use UINT_MAX as the upper > bound there. Otherwise, use ULONG_MAX (i.e., no limit) > > Cc: Matt Fleming <matt@...eblueprint.co.uk> > Signed-off-by: Ard Biesheuvel <ard.biesheuvel@...aro.org> > --- > arch/x86/include/asm/efi.h | 2 ++ > drivers/firmware/efi/libstub/efi-stub-helper.c | 14 +++++++++++++- > 2 files changed, 15 insertions(+), 1 deletion(-) Reviewed-by: Matt Fleming <matt@...eblueprint.co.uk>
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.