diff options
author | Alexei Starovoitov <[email protected]> | 2021-02-02 23:06:36 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-02-03 15:54:22 +0100 |
commit | 548f1191d86ccb9bde2a5305988877b7584c01eb (patch) | |
tree | c66c02041a6024fa628f90dee231091e4594e8d5 /tools/perf/scripts/python | |
parent | 3aaf0a27ffc29b19a62314edd684b9bc6346f9a8 (diff) |
bpf: Unbreak BPF_PROG_TYPE_KPROBE when kprobe is called via do_int3
The commit 0d00449c7a28 ("x86: Replace ist_enter() with nmi_enter()")
converted do_int3 handler to be "NMI-like".
That made old if (in_nmi()) check abort execution of bpf programs
attached to kprobe when kprobe is firing via int3
(For example when kprobe is placed in the middle of the function).
Remove the check to restore user visible behavior.
Fixes: 0d00449c7a28 ("x86: Replace ist_enter() with nmi_enter()")
Reported-by: Nikolay Borisov <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Tested-by: Nikolay Borisov <[email protected]>
Reviewed-by: Masami Hiramatsu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions