lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20060731194910.6ef04be0.akpm@osdl.org>
Date:	Mon, 31 Jul 2006 19:49:10 -0700
From:	Andrew Morton <akpm@...l.org>
To:	Matt Mackall <mpm@...enic.com>
Cc:	ak@...e.de, hpa@...or.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86_64 built-in command line

On Mon, 31 Jul 2006 20:43:19 -0500
Matt Mackall <mpm@...enic.com> 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.

I think what I'm hearing is that we need three options: append, prepend or replace.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ