From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Triplett Subject: Re: [PATCH 2/2] Made core dump functionality optional Date: Mon, 2 Jul 2012 22:09:08 -0700 Message-ID: <20120703050908.GA14527@leaf> References: <1341275894-9737-1-git-send-email-alex.page.kelly@gmail.com> <1341275894-9737-2-git-send-email-alex.page.kelly@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alex Kelly , Alexander Viro , Heiko Carstens , Andrew Morton , Eric Paris , WANG Cong , "Paul E. McKenney" , Ingo Molnar , Nikhil Rao , Dan Ballard , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Alex To: Cong Wang Return-path: Received: from relay4-d.mail.gandi.net ([217.70.183.196]:33758 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750759Ab2GCFJU (ORCPT ); Tue, 3 Jul 2012 01:09:20 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Jul 03, 2012 at 12:55:52PM +0800, Cong Wang wrote: > On Tue, Jul 3, 2012 at 8:38 AM, Alex Kelly wrote: > > From: Alex > > > > Adds an expert Kconfig option, CONFIG_COREDUMP, which allows disabling of core dump. > > This saves approximately 2.6k in the compiled kernel, and complements CONFIG_ELF_CORE, > > which now depends on it. > > > > CONFIG_COREDUMP also disables coredump-related sysctls, except for suid_dumpable and > > related functions, which are necessary for ptrace. > > > > Signed-off-by: Alex Kelly > > Reviewed-by: Josh Triplett > > Looks good, just one nitpick: would CONFIG_CORE_DUMP be better than > CONFIG_COREDUMP? The kernel seems pretty split on that question, according to git grep; "coredump" appears sufficiently often that changing the config option name doesn't seem worth respinning the patch for. - Josh Triplett