Peter Zijlstra f624ce6c7f x86/ibt: Add ANNOTATE_NOENDBR
[ Upstream commit c8c301abeae58ec756b8fcb2178a632bd3c9e284 ]

In order to have objtool warn about code references to !ENDBR
instruction, we need an annotation to allow this for non-control-flow
instances -- consider text range checks, text patching, or return
trampolines etc.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20220308154317.578968224@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-26 14:23:39 +02:00
..
2023-07-23 13:46:54 +02:00
2021-07-21 19:54:21 -07:00
2021-09-20 12:43:34 +01:00
2023-08-11 15:13:51 +02:00
2021-08-29 14:47:42 +03:00
2022-08-17 14:23:11 +02:00
2022-10-26 12:35:12 +02:00
2021-08-31 09:41:22 -07:00
2022-08-31 17:16:34 +02:00
2021-08-16 10:50:32 -06:00
2021-08-26 16:52:03 -07:00
2021-12-14 10:57:11 +01:00
2021-11-25 09:48:41 +01:00
2021-07-20 09:20:49 -07:00
2021-09-07 21:17:28 +02:00
2023-03-30 12:47:50 +02:00
2021-08-26 15:32:28 -04:00
2021-07-27 11:00:36 +02:00
2021-09-06 07:20:56 -04:00
2021-07-26 15:09:44 +02:00
2021-07-27 20:11:45 +01:00
2021-07-27 20:11:44 +01:00
2021-08-05 11:46:42 +01:00
2021-09-03 10:44:35 -07:00
2022-10-26 12:35:26 +02:00
2022-04-13 20:59:03 +02:00
2021-07-27 17:05:06 +01:00
2021-07-27 09:29:15 +02:00
2022-08-17 14:24:08 +02:00
2022-07-12 16:35:08 +02:00
2023-08-03 10:22:30 +02:00
2023-06-21 15:59:15 +02:00
2023-08-26 14:23:39 +02:00
2021-09-17 13:52:17 +01:00
2023-03-17 08:49:02 +01:00
2021-09-07 19:13:42 -07:00
2022-11-03 23:59:15 +09:00
2022-07-02 16:41:17 +02:00
2021-08-18 22:08:24 +02:00
2023-08-03 10:22:26 +02:00
2021-10-07 16:51:57 +02:00
2021-08-17 17:50:51 +02:00
2022-07-12 16:35:08 +02:00
2021-08-31 16:43:06 -07:00
2021-08-06 13:41:48 -07:00
2021-08-19 09:02:55 +09:00
2021-11-21 13:44:12 +01:00
2021-09-09 13:25:49 -07:00
2021-07-27 12:17:21 +02:00
2022-07-29 17:25:32 +02:00
2021-07-27 12:12:08 +02:00
2022-09-15 11:30:05 +02:00
2021-08-11 06:44:24 -04:00