aboutsummaryrefslogtreecommitdiffstats
path: root/security/integrity
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2009-08-28 10:47:16 +0200
committerJiri Slaby <jslaby@suse.cz>2010-01-04 11:27:18 +0100
commit17740d89785aeb4143770923d67c293849414710 (patch)
tree58f332b0eb828017eb4571e2f7323e859b6c268d /security/integrity
parentMerge branch 'reiserfs/kill-bkl' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing (diff)
downloadlinux-dev-17740d89785aeb4143770923d67c293849414710.tar.xz
linux-dev-17740d89785aeb4143770923d67c293849414710.zip
SECURITY: selinux, fix update_rlimit_cpu parameter
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> Cc: David Howells <dhowells@redhat.com>
Diffstat (limited to 'security/integrity')
0 files changed, 0 insertions, 0 deletions