On 11/21/2017 08:23 PM, Yonghong Song wrote: > There are four tests in test_verifier using bpf_probe_write_user > helper. These four tests will emit the following kernel messages > [ 12.974753] test_verifier[220] is installing a program with > bpf_probe_write_user > helper that may corrupt user memory! > [ 12.979285] test_verifier[220] is installing a program with > bpf_probe_write_user > helper that may corrupt user memory! > ...... > > This may confuse certain users. This patch replaces bpf_probe_write_user > with bpf_trace_printk. The test_verifier already uses bpf_trace_printk > earlier in the test and a trace_printk warning message has been printed. > So this patch does not emit any more kernel messages. > > Signed-off-by: Yonghong Song <y...@fb.com>
Applied to bpf tree, thanks Yonghong!