Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH 1/3] SECURITY: selinux, fix update_rlimit_cpu parameter | Date | Tue, 05 Jan 2010 15:50:36 +0000 |
| |
Jiri Slaby <jslaby@suse.cz> wrote:
> From: Jiri Slaby <jirislaby@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@gmail.com> > Acked-by: James Morris <jmorris@namei.org> > Cc: Stephen Smalley <sds@tycho.nsa.gov> > Cc: Eric Paris <eparis@parisplace.org>
Acked-by: David Howells <dhowells@redhat.com>
| |