Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755601AbaJNVAy (ORCPT ); Tue, 14 Oct 2014 17:00:54 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:45559 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752928AbaJNVAx (ORCPT ); Tue, 14 Oct 2014 17:00:53 -0400 Date: Tue, 14 Oct 2014 14:00:52 -0700 From: Andrew Morton To: Andy Lutomirski Cc: Josh Triplett , Rob Landley , frowand.list@gmail.com, "linux-kernel@vger.kernel.org" , Chuck Ebbert , Randy Dunlap , Shuah Khan Subject: Re: [PATCH v5] init: Disable defaults if init= fails Message-Id: <20141014140052.2f114c158ffe6cd953020f1c@linux-foundation.org> In-Reply-To: References: <5c6381879bea68aebb13530442f1cf8a052be97f.1411958379.git.luto@amacapital.net> <542B4DA3.5080105@gmail.com> <542B519B.6010001@landley.net> <542B5E44.40303@gmail.com> <542B7200.6030902@landley.net> <20141001180510.GA28540@cloud> X-Mailer: Sylpheed 3.2.0beta5 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 1 Oct 2014 11:13:14 -0700 Andy Lutomirski wrote: > On Wed, Oct 1, 2014 at 11:05 AM, wrote: > > On Tue, Sep 30, 2014 at 09:53:56PM -0700, Andy Lutomirski wrote: > >> I significantly prefer default N. Scripts that play with init= really > >> don't want the fallback, and I can imagine contexts in which it could > >> be a security problem. > > > > While I certainly would prefer the non-fallback behavior for init as > > well, standard kernel practice has typically been to use "default y" for > > previously built-in features that become configurable. And I'd > > certainly prefer a compile-time configuration option like this (even > > with default y) over a "strictinit" kernel command-line option. > > > > Fair enough. > > So: "default y" for a release or two, then switch the default? Having > default y will annoy virtme, though it's not the end of the world. > Virtme is intended to work with more-or-less-normal kernels. > Adding another Kconfig option is tiresome. What was wrong with strictinit=? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/