Andrey Ryabinin
4b5d4bdfd1
compiler.h: Add read_word_at_a_time() function.
...
[ Upstream commit 7f1e541fc8d57a143dd5df1d0a1276046e08c083 ]
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
..
2018-12-01 09:44:19 +01:00
2019-03-27 14:13:02 +09:00
2018-08-24 13:12:40 +02:00
2019-05-31 06:48:27 -07:00
2019-05-21 18:48:58 +02:00
2019-04-17 08:36:45 +02:00
2018-08-03 07:55:22 +02:00
2018-05-01 15:13:07 -07:00
2018-11-27 16:09:39 +01:00
2018-10-13 09:18:58 +02:00
2018-10-03 17:01:52 -07:00
2019-05-14 19:19:36 +02:00
2019-01-16 22:12:33 +01:00
2018-05-25 16:13:04 +02:00
2018-10-03 17:01:54 -07:00
2019-04-20 09:07:54 +02:00
2019-05-21 18:49:01 +02:00
2019-05-31 06:48:11 -07:00
2019-06-11 12:22:36 +02:00
2019-04-17 08:36:46 +02:00
2019-05-14 19:19:34 +02:00
2018-07-03 11:23:18 +02:00
2018-12-08 13:05:10 +01:00
2019-06-22 08:17:19 +02:00
2019-02-27 10:07:01 +01:00
2018-12-21 14:11:29 +01:00
2019-01-31 08:12:35 +01:00
2019-07-10 09:55:44 +02:00
2019-01-31 08:12:35 +01:00
2019-08-04 09:33:32 +02:00
2019-06-11 12:22:48 +02:00
2019-03-13 14:04:51 -07:00
2019-08-04 09:33:22 +02:00
2018-05-30 07:50:26 +02:00
2018-09-26 08:36:37 +02:00
2018-05-30 07:50:16 +02:00
2019-03-23 13:19:52 +01:00
2018-08-03 07:55:22 +02:00
2019-06-11 12:22:45 +02:00
2018-11-10 07:42:48 -08:00
2019-06-11 12:22:49 +02:00
2019-02-12 19:44:56 +01:00
2019-02-15 08:07:39 +01:00
2019-05-31 06:48:29 -07:00
2018-10-20 09:51:31 +02:00
2019-05-31 06:48:12 -07:00
2018-11-21 09:26:01 +01:00
2018-12-01 09:44:26 +01:00
2018-09-09 20:01:24 +02:00
2019-04-05 22:29:12 +02:00
2018-10-10 08:53:18 +02:00
2019-05-08 07:19:07 +02:00
2018-11-23 08:20:35 +01:00
2018-05-30 07:50:26 +02:00
2019-05-10 17:52:09 +02:00
2019-02-06 17:33:29 +01:00
2019-04-27 09:34:44 +02:00
2018-05-30 07:50:30 +02:00
2018-07-17 11:37:52 +02:00
2019-06-11 12:22:42 +02:00
2019-05-16 19:43:40 +02:00
2019-05-21 18:48:55 +02:00
2018-09-19 22:47:17 +02:00
2019-06-11 12:22:45 +02:00
2018-11-23 08:20:35 +01:00
2019-01-09 16:16:43 +01:00
2019-02-23 09:05:58 +01:00
2019-02-06 17:33:27 +01:00
2018-05-22 16:58:02 +02:00
2019-05-25 18:26:47 +02:00
2019-01-31 08:12:35 +01:00
2018-09-15 09:42:56 +02:00
2019-05-25 18:26:53 +02:00
2019-02-20 10:18:31 +01:00
2018-12-01 09:44:25 +01:00
2019-06-11 12:22:45 +02:00
2018-11-10 07:43:01 -08:00
2018-10-03 17:01:43 -07:00
2019-03-23 13:19:50 +01:00
2019-01-09 16:16:42 +01:00
2019-05-14 19:19:34 +02:00
2019-06-22 08:17:17 +02:00
2019-05-16 19:43:40 +02:00
2019-08-04 09:33:19 +02:00
2019-04-05 22:29:06 +02:00
2018-12-08 13:05:09 +01:00
2018-10-18 09:13:25 +02:00
2019-04-05 22:29:05 +02:00
2019-05-14 19:19:39 +02:00
2018-05-22 16:58:01 +02:00
2018-08-03 07:55:25 +02:00
2018-05-22 16:57:57 +02:00
2019-02-20 10:18:28 +01:00
2018-10-03 17:01:50 -07:00
2019-05-31 06:48:17 -07:00
2019-04-17 08:36:39 +02:00
2018-05-30 07:50:24 +02:00
2019-04-20 09:07:54 +02:00
2018-08-15 18:14:45 +02:00
2018-08-15 18:14:43 +02:00
2018-09-05 09:20:10 +02:00
2018-11-13 11:17:02 -08:00
2019-06-17 19:53:32 +02:00
2018-08-09 12:18:00 +02:00
2018-05-01 15:13:05 -07:00
2018-11-27 16:09:41 +01:00
2019-05-08 07:19:08 +02:00
2018-09-09 20:01:23 +02:00
2019-04-17 08:36:47 +02:00
2018-09-19 22:47:17 +02:00
2018-09-19 22:47:17 +02:00
2019-07-21 09:06:03 +02:00
2018-12-05 19:42:42 +01:00