Files
ubports_kernel_google_msm/kernel
Kees Cook 00ea6db128 use clamp_t in UNAME26 fix
CVE-2012-0957

commit 31fd84b95eb211d5db460a1dda85e004800a7b52 upstream.

The min/max call needed to have explicit types on some architectures
(e.g. mn10300). Use clamp_t instead to avoid the warning:

  kernel/sys.c: In function 'override_release':
  kernel/sys.c:1287:10: warning: comparison of distinct pointer types lacks a cast [enabled by default]

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2014-06-26 12:52:23 -06:00
..
2013-09-09 17:01:42 -07:00
2013-04-18 16:08:19 -07:00
2012-04-09 13:57:52 -07:00
2012-03-28 18:30:03 +01:00
2013-07-12 14:22:58 -07:00
2012-03-26 12:50:53 +10:30
2012-03-29 19:52:46 +08:00
2012-03-28 18:30:03 +01:00
2011-10-31 17:30:44 -07:00
2014-06-26 12:52:23 -06:00
2012-03-15 18:17:55 -07:00