From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([66.187.233.31]) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1JKJvz-0000Jk-Pq for kexec@lists.infradead.org; Wed, 30 Jan 2008 20:53:33 +0000 Date: Wed, 30 Jan 2008 15:53:23 -0500 From: Vivek Goyal Subject: Re: Kexec command line length Message-ID: <20080130205323.GA15415@redhat.com> References: <20080128170811.GA1174@hmsreliant.think-freely.org> <20080128193741.GB32765@redhat.com> <20080128200702.GB1174@hmsreliant.think-freely.org> <20080128202041.GD32765@redhat.com> <20080128205324.GC1174@hmsreliant.think-freely.org> <20080128212910.GA21889@suse.de> <20080129010122.GA11935@hmsreliant.think-freely.org> <20080129154104.GA12219@redhat.com> <20080129181701.GB535@suse.de> <20080129195753.GB21530@hmsreliant.think-freely.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20080129195753.GB21530@hmsreliant.think-freely.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org+dwmw2=infradead.org@lists.infradead.org To: Neil Horman Cc: horms@verge.net.au, kexec@lists.infradead.org On Tue, Jan 29, 2008 at 02:57:53PM -0500, Neil Horman wrote: > > Ok, I've got a new patch here. In response to Bernhard and Viveks concerns, > I've added a few checks. Bernhard, thank you for digging into the history of > the addition of the 2048 byte command line. As I understand what you've posted > heres what we need to capture: > > On X86: > Boot loader version >= 2.06 > error if cmdline_len > setup_header.cmdline_size > 2.05 > Boot loader version > 2.06 > warn if cmdline_len > 255 > Boot loader version < 2.05 > error if cmdline_len > 255 > > on X86_64: > Boot loader version >= 2.04 > error if cmdline_len > setup_header.cmdline_size cmdline_size was introduced only in version 2.06. So this will run into trouble on x86_64 version 2.04 and 2.05, isn't it? Thanks Vivek _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec