Files
android_kernel_xiaomi_sm8450/arch/x86/include/asm
Linus Torvalds 54a7d50b92 x86: mark kprobe templates as character arrays, not single characters
They really are, and the "take the address of a single character" makes
the string fortification code unhappy (it believes that you can now only
acccess one byte, rather than a byte range, and then raises errors for
the memory copies going on in there).

We could now remove a few 'addressof' operators (since arrays naturally
degrade to pointers), but this is the minimal patch that just changes
the C prototypes of those template arrays (the templates themselves are
defined in inline asm).

Reported-by: kernel test robot <xiaolong.ye@intel.com>
Acked-and-tested-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Daniel Micay <danielmicay@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-07-20 11:34:47 -07:00
..
2017-03-30 09:37:20 +02:00
2014-12-11 11:35:02 +01:00
2015-05-28 15:31:53 +02:00
2012-03-28 18:11:12 +01:00
2015-10-21 11:17:32 +02:00
2015-04-24 15:36:55 +02:00
2017-03-27 08:56:13 +02:00
2016-01-12 12:17:28 +01:00
2015-07-31 13:31:10 +02:00
2014-02-27 08:07:39 -08:00
2017-03-07 08:28:00 +01:00
2015-12-19 11:53:40 +01:00
2017-06-28 22:32:55 +02:00
2011-03-15 15:34:15 -07:00
2015-05-19 15:47:30 +02:00
2016-01-30 11:22:17 +01:00
2015-07-31 13:31:10 +02:00
2017-03-29 12:06:28 -04:00
2017-04-17 12:52:22 -04:00
2016-06-16 00:04:31 +02:00
2015-05-19 15:47:30 +02:00