Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753481AbZIAIvH (ORCPT ); Tue, 1 Sep 2009 04:51:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753072AbZIAIvG (ORCPT ); Tue, 1 Sep 2009 04:51:06 -0400 Received: from tundra.namei.org ([65.99.196.166]:38391 "EHLO tundra.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753396AbZIAIvF (ORCPT ); Tue, 1 Sep 2009 04:51:05 -0400 Date: Tue, 1 Sep 2009 18:50:45 +1000 (EST) From: James Morris To: Jiri Slaby cc: akpm@linux-foundation.org, mingo@redhat.com, oleg@redhat.com, linux-kernel@vger.kernel.org, Stephen Smalley , Eric Paris , David Howells Subject: Re: [PATCH 1/6] SECURITY: selinux, fix update_rlimit_cpu parameter In-Reply-To: <1251744974-29398-1-git-send-email-jirislaby@gmail.com> Message-ID: References: <1251744974-29398-1-git-send-email-jirislaby@gmail.com> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 647 Lines: 22 On Mon, 31 Aug 2009, Jiri Slaby wrote: > I posted this one earlier, but for the sake of completeness and > applicability, reposting. > -- > > Don't pass rlim_cur member of RLIM_NLIMITS-1=RLIMIT_RTTIME limit > to update_rlimit_cpu() in selinux_bprm_committing_creds. > > Use proper rlim[RLIMIT_CPU].rlim_cur instead. Acked-by: James Morris -- James Morris -- 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/