From: Tom Rini <trini@kernel.crashing.org>
To: Zwane Mwaikambo <zwane@linuxpower.ca>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH][2.6-mm] early_param console_setup clobbers commandline
Date: Sat, 3 Apr 2004 13:14:50 -0700 [thread overview]
Message-ID: <20040403201450.GG31152@smtp.west.cox.net> (raw)
In-Reply-To: <Pine.LNX.4.58.0404031028090.11690@montezuma.fsmlabs.com>
On Sat, Apr 03, 2004 at 10:40:01AM -0500, Zwane Mwaikambo wrote:
> On Fri, 2 Apr 2004, Tom Rini wrote:
>
> > This shouldn't be a problem 'tho, since we don't allow for spaces in
> > args, and we do find where the next space is, and ensure it's still a
> > space after the call (because console can splice up the command line,
> > but we'd skip over those bits anyhow).
>
> Another new thing is that all setup functions get called with their
> parameter and any other trailing arguments. So console_setup sees;
>
> tty0 console=ttyS0,38400 hugepages=20 nmi_watchdog=2
>
> That's different enough to cause potential problems in future.
I _thought_ I had put in bits to make it only pass along the argument,
but perhaps that got lost in my testing/retesting.
> > pci= will clobber as well, which is why I thought I asked Andrew to drop
> > that part of the i386 patch (but perhaps I forgot, and with Rusty's
> > patch, it becomes a non-issue again).
>
> What is the patch name for Rusty's patch?
I don't know, since I think once he got it working he forgot to CC lkml.
But I certainly hope it's in the next -mm since it replaced the
parse_early_options parsing code with parse_args, so all of the stupid
things my re-implementation got wrong, it doesn't.
--
Tom Rini
http://gate.crashing.org/~trini/
next prev parent reply other threads:[~2004-04-03 20:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-03 1:32 Zwane Mwaikambo
2004-04-03 3:05 ` Tom Rini
2004-04-03 15:40 ` Zwane Mwaikambo
2004-04-03 20:14 ` Tom Rini [this message]
2004-04-03 20:22 ` Andrew Morton
2004-04-04 0:59 ` Zwane Mwaikambo
2004-04-04 1:08 ` Andrew Morton
2004-04-04 2:04 ` Zwane Mwaikambo
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=20040403201450.GG31152@smtp.west.cox.net \
--to=trini@kernel.crashing.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=zwane@linuxpower.ca \
/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
all inboxes | Powered by JetHome®