Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262147AbVDRRns (ORCPT ); Mon, 18 Apr 2005 13:43:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262150AbVDRRns (ORCPT ); Mon, 18 Apr 2005 13:43:48 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:40665 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S262147AbVDRRnr (ORCPT ); Mon, 18 Apr 2005 13:43:47 -0400 Date: Mon, 18 Apr 2005 18:43:46 +0100 From: Christoph Hellwig To: Lorenzo Hern?ndez Garc?a-Hierro Cc: "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] RLIMIT_NPROC enforcement during execve() calls Message-ID: <20050418174346.GA28790@infradead.org> Mail-Followup-To: Christoph Hellwig , Lorenzo Hern?ndez Garc?a-Hierro , "linux-kernel@vger.kernel.org" References: <1113845937.17341.29.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1113845937.17341.29.camel@localhost.localdomain> User-Agent: Mutt/1.4.1i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 604 Lines: 13 On Mon, Apr 18, 2005 at 07:38:57PM +0200, Lorenzo Hern?ndez Garc?a-Hierro wrote: > Enforces the RLIMIT_NPROC limit by adding an additional check for > execve(), as > such limit is checked only during fork() calls. What's the point? exec doesn't create new process and exec() shouldn't start to fail just because someone lowered the rlimit a short while ago. - 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/