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] [day] [month] [year] [list]
Message-ID: <20211014124753.wng5iuzluukz4val@halaneylaptop>
Date:   Thu, 14 Oct 2021 07:47:53 -0500
From:   Andrew Halaney <ahalaney@...hat.com>
To:     Andrew Morton <akpm@...ux-foundation.org>
Cc:     rostedt@...dmis.org, bp@...e.de, rdunlap@...radead.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] init: Make unknown command line param message clearer

On Wed, Oct 13, 2021 at 04:12:59PM -0700, Andrew Morton wrote:
> On Wed, 13 Oct 2021 17:35:02 -0500 Andrew Halaney <ahalaney@...hat.com> wrote:
> 
> > The prior message is confusing users, which is the exact opposite of the
> > goal. If the message is being seen, one of the following situations is
> > happening:
> > 
> >  1. the param is misspelled
> >  2. the param is not valid due to the kernel configuration
> >  3. the param is intended for init but isn't after the '--'
> >     delineator on the command line
> > 
> > To make that more clear to the user, explicitly mention "kernel command
> > line" and also note that the params are still passed to user space to
> > avoid causing any alarm over params intended for init.
> > 
> > Fixes: 86d1919a4fb0 ("init: print out unknown kernel parameters")
> > Suggested-by: Steven Rostedt (VMware) <rostedt@...dmis.org>
> > Signed-off-by: Andrew Halaney <ahalaney@...hat.com>
> 
> Thanks.
> 
> BTW, I'm still sitting on your "init/main.c: silence some
> -Wunused-parameter warnings", awaiting a response to Rasmus's
> suggestion:
> https://lkml.kernel.org/r/f06b8308-645b-031b-f9c6-b92400a269aa@rasmusvillemoes.dk
> 

Whoops, that got caught in spam (along with rostedt's replies
yesterday... darn gmail). Let me add looking at that to the todo list,
thanks Andrew!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ