Re: [PATCH 1/6] SECURITY: selinux, fix update_rlimit_cpu parameter

From: James Morris
Date: Tue Sep 01 2009 - 04:51:14 EST


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 <jmorris@xxxxxxxxx>


--
James Morris
<jmorris@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/