From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755256Ab1HYSni (ORCPT ); Thu, 25 Aug 2011 14:43:38 -0400 Received: from charlotte.tuxdriver.com ([70.61.120.58]:53878 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753572Ab1HYSnh (ORCPT ); Thu, 25 Aug 2011 14:43:37 -0400 Date: Thu, 25 Aug 2011 14:43:13 -0400 From: Neil Horman To: Oleg Nesterov Cc: Jovi Zhang , =?iso-8859-1?Q?P=E1draig?= Brady , dhowells@redhat.com, roland@redhat.com, viro@zeniv.linux.org.uk, akpm@linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] coredump: fix pipe coredump when core limit is 0 Message-ID: <20110825184313.GA29763@hmsreliant.think-freely.org> References: <48dnn9u5x3e4qoh8meht42xk.1313966177259@email.android.com> <4E527684.3020206@draigBrady.com> <20110822161914.GA9399@redhat.com> <20110824110134.GA17362@hmsreliant.think-freely.org> <20110825155735.GA5380@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110825155735.GA5380@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -1.6 (-) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 25, 2011 at 05:57:35PM +0200, Oleg Nesterov wrote: > On 08/24, Neil Horman wrote: > > > > The long and the short of it is, making RLIMIT_CORE == 0 for the ispipe case > > skip the core dump, breaks lots of user space expectations > > Not sure this really makes sense, but perhaps ispipe can skip the dump > if RLIMIT_CORE == 0 _and_ the signal was sent from the user-space. > If you can guarantee that the signal came from user space, yes, that would work I imagine. alternatively I expect we could modify the kernel thread creation routine such that it sets PR_SET_DUMPABLE to zero for all kernel threads Either would work I imagine. Neil > Oleg. > >