Files
twx-linux/include/linux
Andrey Ryabinin 4b5d4bdfd1 compiler.h: Add read_word_at_a_time() function.
[ Upstream commit 7f1e541fc8 ]

Sometimes we know that it's safe to do potentially out-of-bounds access
because we know it won't cross a page boundary.  Still, KASAN will
report this as a bug.

Add read_word_at_a_time() function which is supposed to be used in such
cases.  In read_word_at_a_time() KASAN performs relaxed check - only the
first byte of access is validated.

Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-04 09:33:32 +02:00
..
2019-04-17 08:36:45 +02:00
2019-04-20 09:07:54 +02:00
2017-10-08 10:26:06 +02:00
2018-04-24 09:34:18 +02:00
2018-02-28 10:18:33 +01:00
2019-03-23 13:19:52 +01:00
2017-07-15 12:16:11 +02:00
2017-05-14 14:00:22 +02:00
2017-07-12 15:01:02 +02:00
2017-08-06 18:59:43 -07:00
2018-10-10 08:53:18 +02:00
2017-08-24 17:12:19 -07:00
2017-08-24 17:12:21 -07:00
2017-08-30 10:21:40 +02:00
2019-04-17 08:36:39 +02:00
2018-11-13 11:17:02 -08:00
2019-06-17 19:53:32 +02:00
2018-11-27 16:09:41 +01:00
2017-04-21 09:31:21 +02:00
2017-12-25 14:23:37 +01:00
2018-12-05 19:42:42 +01:00