android_kernel_xiaomi_sm8350/security/selinux
Jiri Slaby 17740d8978 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>
2010-01-04 11:27:18 +01:00
..
include selinux: generate flask headers during kernel build 2009-10-07 21:56:44 +11:00
ss Merge branch 'for-next' into for-linus 2009-12-07 18:36:35 +01:00
.gitignore SELinux: add .gitignore files for dynamic classes 2009-10-24 09:42:27 +08:00
avc.c SELinux: print denials for buggy kernel with unknown perms 2009-11-24 14:30:49 +11:00
exports.c Creds: creds->security can be NULL is selinux is disabled 2009-09-14 12:34:07 +10:00
hooks.c SECURITY: selinux, fix update_rlimit_cpu parameter 2010-01-04 11:27:18 +01:00
Kconfig
Makefile selinux: generate flask headers during kernel build 2009-10-07 21:56:44 +11:00
netif.c
netlabel.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
netlink.c
netnode.c
netport.c
nlmsgtab.c SELinux: define audit permissions for audit tree netlink messages 2009-06-03 07:44:53 +10:00
selinuxfs.c selinux: dynamic class/perm discovery 2009-10-07 21:56:42 +11:00
xfrm.c SELinux: Convert avc_audit to use lsm_audit.h 2009-08-17 08:37:18 +10:00