Daniel Borkmann
fe9a5ca7e3
bpf: Do not mark insn as seen under speculative path verification
...
... in such circumstances, we do not want to mark the instruction as seen given
the goal is still to jmp-1 rewrite/sanitize dead code, if it is not reachable
from the non-speculative path verification. We do however want to verify it for
safety regardless.
With the patch as-is all the insns that have been marked as seen before the
patch will also be marked as seen after the patch (just with a potentially
different non-zero count). An upcoming patch will also verify paths that are
unreachable in the non-speculative domain, hence this extension is needed.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net >
Reviewed-by: John Fastabend <john.fastabend@gmail.com >
Reviewed-by: Benedict Schlueter <benedict.schlueter@rub.de >
Reviewed-by: Piotr Krysiuk <piotras@gmail.com >
Acked-by: Alexei Starovoitov <ast@kernel.org >
2021-06-14 23:06:06 +02:00
..
2021-06-14 23:06:06 +02:00
2021-05-24 12:45:26 -04:00
2021-05-07 00:26:34 -07:00
2021-04-27 18:09:44 -07:00
2021-05-04 10:58:49 -07:00
2021-04-26 09:41:15 -07:00
2021-05-21 06:12:52 -10:00
2021-05-07 00:26:32 -07:00
2021-05-05 12:39:29 -07:00
2021-05-18 10:58:02 -07:00
2021-04-27 18:14:38 -07:00
2021-05-18 12:53:51 +02:00
2021-04-08 19:37:21 +02:00
2021-03-30 15:34:17 +02:00
2021-03-24 17:20:18 -07:00
2021-05-12 10:41:28 +02:00
2021-05-11 21:28:04 +02:00
2021-06-02 21:59:22 +02:00
2021-05-02 00:43:35 +09:00
2020-12-15 22:46:15 -08:00
2021-05-07 00:26:33 -07:00
2021-02-23 10:25:27 -05:00
2020-12-03 14:58:35 +01:00
2020-12-03 14:58:35 +01:00
2021-03-22 15:23:32 -04:00
2021-03-24 12:11:48 -04:00
2021-03-22 15:23:32 -04:00
2021-04-27 13:50:58 -07:00
2021-01-24 14:27:16 +01:00
2021-04-08 16:04:20 -07:00
2021-04-21 13:55:43 +02:00
2020-12-15 22:46:18 -08:00
2021-05-06 19:24:11 -07:00
2021-05-06 19:24:13 -07:00
2020-12-15 22:46:19 -08:00
2021-05-06 19:24:13 -07:00
2021-03-27 14:09:10 -06:00
2021-05-06 20:19:04 +02:00
2021-04-25 05:26:10 +09:00
2021-02-26 09:41:03 -08:00
2020-11-02 12:14:19 -08:00
2021-04-30 11:20:42 -07:00
2021-03-19 13:16:44 +01:00
2021-04-08 16:04:21 -07:00
2020-12-15 19:36:48 -08:00
2021-02-17 14:12:24 +01:00
2020-11-02 18:00:20 -08:00
2021-05-07 00:26:32 -07:00
2021-05-07 00:26:32 -07:00
2021-02-22 12:33:26 +00:00
2021-05-07 00:26:33 -07:00
2021-02-19 14:57:12 -05:00
2021-04-28 13:33:57 -07:00
2021-05-02 00:43:35 +09:00
2021-01-19 10:24:45 +01:00
2021-01-19 10:24:45 +01:00
2021-05-17 09:48:24 +02:00
2020-12-14 16:40:27 -08:00
2020-11-14 11:26:04 -08:00
2020-12-17 13:01:31 -08:00
2020-12-14 16:40:27 -08:00
2020-12-15 19:36:48 -08:00
2021-04-10 13:35:54 +02:00
2021-05-12 10:45:22 -07:00
2021-03-18 16:58:02 +01:00
2020-12-15 22:46:18 -08:00
2020-11-25 18:52:35 +01:00
2021-05-14 19:41:32 -07:00
2021-04-14 18:04:09 +02:00
2021-01-04 13:53:41 -08:00
2020-12-01 10:30:28 +00:00
2021-05-03 11:05:28 -07:00
2021-05-21 06:12:52 -10:00
2021-05-06 15:33:49 +02:00
2021-01-22 15:09:42 +01:00
2021-04-28 12:00:13 -07:00
2021-04-09 13:22:12 +02:00
2021-03-23 16:01:58 +01:00
2021-05-01 18:50:44 -07:00
2021-05-07 00:26:34 -07:00
2021-05-11 16:05:56 -07:00
2021-04-30 11:20:42 -07:00
2020-11-16 08:08:54 -08:00
2021-03-08 14:22:28 -08:00
2021-02-09 12:27:29 -05:00
2021-03-16 16:49:31 +01:00
2021-05-07 00:26:34 -07:00
2021-05-09 13:07:03 -07:00
2021-05-07 00:26:34 -07:00
2021-03-19 22:23:19 +01:00
2021-01-26 11:16:34 +00:00
2021-05-22 15:09:07 -10:00
2021-05-20 12:58:30 -04:00