From: David Howells on
Jiri Slaby <jslaby(a)suse.cz> wrote:

> From: Jiri Slaby <jirislaby(a)gmail.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(a)gmail.com>
> Acked-by: James Morris <jmorris(a)namei.org>
> Cc: Stephen Smalley <sds(a)tycho.nsa.gov>
> Cc: Eric Paris <eparis(a)parisplace.org>

Acked-by: David Howells <dhowells(a)redhat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/