[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <17729.1262706636@redhat.com>
Date: Tue, 05 Jan 2010 15:50:36 +0000
From: David Howells <dhowells@...hat.com>
To: Jiri Slaby <jslaby@...e.cz>
Cc: dhowells@...hat.com, torvalds@...ux-foundation.org,
linux-kernel@...r.kernel.org, jirislaby@...il.com,
nhorman@...driver.com, mingo@...e.hu,
Stephen Smalley <sds@...ho.nsa.gov>,
Eric Paris <eparis@...isplace.org>
Subject: Re: [PATCH 1/3] SECURITY: selinux, fix update_rlimit_cpu parameter
Jiri Slaby <jslaby@...e.cz> wrote:
> From: Jiri Slaby <jirislaby@...il.com>
>
> Don't pass current RLIMIT_RTTIME to update_rlimit_cpu() in
> selinux_bprm_committing_creds, since update_rlimit_cpu expects
> RLIMIT_CPU limit.
>
> Use proper rlim[RLIMIT_CPU].rlim_cur instead to fix that.
>
> Signed-off-by: Jiri Slaby <jirislaby@...il.com>
> Acked-by: James Morris <jmorris@...ei.org>
> Cc: Stephen Smalley <sds@...ho.nsa.gov>
> Cc: Eric Paris <eparis@...isplace.org>
Acked-by: David Howells <dhowells@...hat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists