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
| ||
|
Message-ID: <87fvercwaa.fsf@rustcorp.com.au> Date: Tue, 14 Oct 2014 11:17:09 +1030 From: Rusty Russell <rusty@...tcorp.com.au> To: Andy Lutomirski <luto@...capital.net>, Andrew Morton <akpm@...ux-foundation.org>, linux-kernel@...r.kernel.org Cc: Chuck Ebbert <cebbert.lkml@...il.com>, Rob Landley <rob@...dley.net>, Randy Dunlap <rdunlap@...radead.org>, Shuah Khan <shuah.kh@...sung.com>, Andy Lutomirski <luto@...capital.net> Subject: Re: [PATCH v5] init: Disable defaults if init= fails Andy Lutomirski <luto@...capital.net> writes: > If a user puts init=/whatever on the command line and /whatever > can't be run, then the kernel will try a few default options before > giving up. If init=/whatever came from a bootloader prompt, then > this is unexpected but probably harmless. On the other hand, if it > comes from a script (e.g. a tool like virtme or perhaps a future > kselftest script), then the fallbacks are likely to exist, but > they'll do the wrong thing. For example, they might unexpectedly > invoke systemd. > > This makes a failure to run the specified init= process be fatal. > > As a temporary measure, users can set CONFIG_INIT_FALLBACK=y to > preserve the old behavior. If no one speaks up, we can remove that > option entirely after a release or two. > > Signed-off-by: Andy Lutomirski <luto@...capital.net> Acked-by: Rusty Russell <rusty@...tcorp.com.au> Andrew, please apply. Thanks, Rusty. -- 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