From: "H. Peter Anvin" <hpa@zytor.com>
To: Matt Mackall <mpm@selenic.com>
Cc: Andi Kleen <ak@suse.de>,
linux-kernel <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] x86_64 built-in command line
Date: Mon, 31 Jul 2006 19:29:01 -0700 [thread overview]
Message-ID: <44CEBC6D.4040400@zytor.com> (raw)
In-Reply-To: <20060801014319.GO6908@waste.org>
Matt Mackall wrote:
> On Tue, Aug 01, 2006 at 12:17:00AM +0200, Andi Kleen wrote:
>> On Monday 31 July 2006 22:41, H. Peter Anvin wrote:
>>> Andi Kleen wrote:
>>>>
>>>>> +#ifdef CONFIG_CMDLINE_BOOL
>>>>> + strlcpy(saved_command_line, CONFIG_CMDLINE, COMMAND_LINE_SIZE);
>>>>> +#endif
>>>> I think I would prefer a strcat.
>>>>
>>>> Also you should describe the exact behaviour (override/append) in Kconfig help.
>>>>
>>> In the i386 thread, Matt described having a firmware bootloader which
>>> passes bogus parameters. For that case, it would make sense to have a
>>> non-default CONFIG option to have override rather than conjoined (and I
>>> maintain that the built-in command line should be prepended.)
>> Is that boot loader common? What's its name?
>> If not I would prefer that he keeps the one liner patch to deal
>> with that private.
>>
>> For generic semantics strcat (or possible prepend) is probably better.
>
> No, it doesn't work for numerous kernel options that can't be negated.
>
How about we fix the real problem, then?
-hpa
next prev parent reply other threads:[~2006-08-01 2:29 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-31 17:14 [PATCH] x86_64 built-in command line Matt Mackall
2006-07-31 17:46 ` linux-os (Dick Johnson)
2006-07-31 20:07 ` Andi Kleen
2006-07-31 20:41 ` H. Peter Anvin
2006-07-31 22:17 ` Andi Kleen
2006-08-01 1:43 ` Matt Mackall
2006-08-01 2:29 ` H. Peter Anvin [this message]
2006-08-01 2:33 ` H. Peter Anvin
2006-08-01 2:38 ` H. Peter Anvin
2006-08-01 2:41 ` Matt Mackall
2006-08-01 2:44 ` Andi Kleen
2006-08-01 2:46 ` H. Peter Anvin
2006-08-01 2:46 ` Andi Kleen
2006-08-01 2:46 ` H. Peter Anvin
2006-08-01 2:49 ` Andrew Morton
2006-08-01 1:06 ` Deepak Saxena
2006-08-01 1:18 ` Andi Kleen
2006-08-01 3:47 ` H. Peter Anvin
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=44CEBC6D.4040400@zytor.com \
--to=hpa@zytor.com \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.