lkml.org 
[lkml]   [2015]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V2] x86: Allow built-in command line to work in early kernel init
On Tue, May 12, 2015 at 07:46:11PM -0700, H. Peter Anvin wrote:
> On 05/12/2015 04:53 PM, Matthew Garrett wrote:
> > On Tue, May 12, 2015 at 04:41:22PM -0700, Yinghai Lu wrote:
> >
> >> You can not assume that you can use buffer after cmd_line from bootloader
> >> blindly.
> >
> > Are there any bootloaders that don't allocate a buffer of the maximum
> > command line size?
> >
>
> YES! In fact, it is quite common for the command line to be dynamically
> allocated.

Hmm. Well, this is a little awkward. Let me think about it.

--
Matthew Garrett | mjg59@srcf.ucam.org


\
 
 \ /
  Last update: 2015-05-13 05:21    [W:0.062 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site