The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: alon.barlev@gmail.com, "H. Peter Anvin" <hpa@zytor.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [REPOST] x86_64, i386: Add command line length to boot protocol
Date: Thu, 15 Mar 2007 17:42:46 -0700	[thread overview]
Message-ID: <45F9E806.2010405@zytor.com> (raw)
In-Reply-To: <20070315210516.GA28998@strauss.suse.de>

Bernhard Walle wrote:
> Because the command line is increased to 2048 characters after 2.6.21,
> it's not possible for boot loaders and userspace tools to determine the length
> of the command line the kernel can understand. The benefit of knowing the
> length is that users can be warned if the command line size is too long which
> prevents surprise if things don't work after bootup.
> 
> This patch updates the boot protocol to contain a field called
> "cmdline_size" that contain the length of the command line (excluding
> the terminating zero).
> 
> The patch also adds missing fields (of protocol version 2.05) to the x86_64
> setup code.
> 
> 
> Signed-off-by: Bernhard Walle <bwalle@suse.de>
> Cc: Alon Bar-Lev <alon.barlev@gmail.com>

Acked-by: H. Peter Anvin <hpa@zytor.com>

      parent reply	other threads:[~2007-03-16  0:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-15 21:05 [PATCH] [REPOST] x86_64, i386: Add command line length to boot protocol Bernhard Walle
2007-03-15 21:16 ` Alon Bar-Lev
2007-03-15 23:40   ` H. Peter Anvin
2007-03-16  0:42 ` H. Peter Anvin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45F9E806.2010405@zytor.com \
    --to=hpa@zytor.com \
    --cc=alon.barlev@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox