[PATCH 2/2] arm64: error out if kernel command line is too long

Simon Horman horms at verge.net.au
Fri Jun 29 07:43:30 PDT 2018


On Wed, Jun 27, 2018 at 08:51:25AM +0200, Simon Horman wrote:
> On Tue, Jun 26, 2018 at 12:47:29PM -0700, Munehisa Kamata wrote:
> > Currently, in arm64, kexec silently truncates kernel command line longer
> > than COMMAND_LINE_SIZE - 1. Error out in that case as some other
> > architectures already do that. The error message is copied from x86_64.
> > 
> > Suggested-by: Tom Kirchner <tjk at amazon.com>
> > Signed-off-by: Munehisa Kamata <kamatam at amazon.com>
> > ---
> >  kexec/arch/arm64/kexec-arm64.c | 9 ++++++++-
> >  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> 
> Hi,
> 
> This looks fine to me but I will wait to see if there are other reviews
> before applying.
> 
> Reviewed-by: Simon Horman <horms at verge.net.au>

Thanks, applied.



More information about the kexec mailing list