Commit 6415e2c
selftests/bpf: Don't override SIGSEGV handler with ASAN
test_progs has custom SIGSEGV handler, which interferes with the
address sanitizer [1]. Add an #ifndef to avoid this.
[1] https://lore.kernel.org/bpf/73d832948b01dbc0ebc60d85574bdf8537f3a810.camel@gmail.com/
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Acked-by: Mykyta Yatsenko <yatsenko@meta.com>|1 parent 4406a02 commit 6415e2c
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1944 | 1944 | | |
1945 | 1945 | | |
1946 | 1946 | | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
1947 | 1950 | | |
1948 | 1951 | | |
1949 | 1952 | | |
1950 | | - | |
1951 | | - | |
1952 | | - | |
| 1953 | + | |
1953 | 1954 | | |
| 1955 | + | |
1954 | 1956 | | |
1955 | 1957 | | |
1956 | 1958 | | |
| |||
0 commit comments