Running ./test_verifier as unprivileged lets 1 out of 98 tests fail: [...] #71 unpriv: check that printk is disallowed FAIL Unexpected error message! 0: (7a) *(u64 *)(r10 -8) = 0 1: (bf) r1 = r10 2: (07) r1 += -8 3: (b7) r2 = 8 4: (bf) r3 = r1 5: (85) call bpf_trace_printk#6 unknown func bpf_trace_printk#6 [...] The test case is correct, just that the error outcome changed with |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| bpf_sys.h | ||
| bpf_util.h | ||
| config | ||
| Makefile | ||
| test_kmod.sh | ||
| test_lru_map.c | ||
| test_maps.c | ||
| test_verifier.c | ||