Stanislav Fomichev
740f8a6572
selftests/bpf: make sure signal interrupts BPF_PROG_TEST_RUN
...
Simple test that I used to reproduce the issue in the previous commit:
Do BPF_PROG_TEST_RUN with max iterations, each program is 4096 simple
move instructions. File alarm in 0.1 second and check that
bpf_prog_test_run is interrupted (i.e. test doesn't hang).
Note: reposting this for bpf-next to avoid linux-next conflict. In this
version I test both BPF_PROG_TYPE_SOCKET_FILTER (which uses generic
bpf_test_run implementation) and BPF_PROG_TYPE_FLOW_DISSECTOR (which has
it own loop with preempt handling in bpf_prog_test_run_flow_dissector).
Signed-off-by: Stanislav Fomichev <sdf@google.com >
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net >
2019-02-25 22:24:19 +01:00
..
2017-05-03 09:51:25 -04:00
2017-11-02 11:10:55 +01:00
2019-02-13 18:27:55 -08:00
2019-02-10 19:46:17 -08:00
2019-02-11 20:31:38 -08:00
2017-11-02 11:10:55 +01:00
2019-02-10 19:46:17 -08:00
2018-05-14 19:11:45 -07:00
2018-02-26 20:11:23 -08:00
2019-02-16 22:56:34 -08:00
2019-01-07 13:15:55 -08:00
2018-07-15 00:08:41 +02:00
2018-11-28 22:13:06 +01:00
2019-01-29 01:08:29 +01:00
2019-01-29 01:08:29 +01:00
2018-06-08 00:10:07 +02:00
2019-02-13 18:27:55 -08:00
2018-10-01 16:18:33 +02:00
2019-02-04 21:29:27 +01:00
2019-02-04 21:29:27 +01:00
2018-11-30 21:38:48 -08:00
2019-02-16 22:56:34 -08:00
2019-01-07 13:15:55 -08:00
2019-01-07 13:15:55 -08:00
2019-01-29 00:09:26 +01:00
2018-11-10 15:56:10 -08:00
2017-04-01 12:45:57 -07:00
2018-06-22 00:30:02 +02:00
2019-02-04 17:45:31 -08:00
2018-11-07 22:20:56 +01:00
2018-12-09 14:37:18 -08:00
2018-12-09 14:37:18 -08:00
2018-02-26 20:11:23 -08:00
2018-02-26 20:11:23 -08:00
2019-02-16 18:41:44 -08:00
2018-08-03 10:19:33 +02:00
2019-02-06 15:48:43 +01:00
2019-01-07 13:15:55 -08:00
2019-02-06 15:35:42 +01:00
2019-02-25 22:24:19 +01:00
2018-10-19 13:24:31 -07:00
2018-09-27 21:14:59 +02:00
2018-08-11 01:58:46 +02:00
2018-08-11 01:58:46 +02:00
2019-01-07 13:15:55 -08:00
2018-10-31 23:05:30 +01:00
2019-01-07 13:15:55 -08:00
2018-10-31 23:05:30 +01:00
2019-02-10 19:46:17 -08:00
2019-02-07 18:22:31 -08:00
2019-01-23 12:27:04 +01:00
2018-11-28 22:07:57 +01:00
2019-01-29 00:09:26 +01:00
2018-02-26 20:11:23 -08:00
2019-01-07 13:15:55 -08:00
2018-07-15 00:08:41 +02:00
2019-01-23 12:56:30 +01:00
2018-11-09 09:40:17 +01:00
2018-06-15 03:31:52 +02:00
2018-02-26 20:11:23 -08:00
2019-02-01 20:55:39 +01:00
2018-02-06 11:34:42 +01:00
2018-02-06 11:34:42 +01:00
2018-10-09 21:59:09 -07:00
2018-10-20 23:13:32 -07:00
2018-06-27 11:01:03 +02:00
2018-05-14 23:29:45 +02:00
2018-09-14 12:04:33 -07:00
2018-09-14 12:04:33 -07:00