Re: kasan for bpf

2017-12-23 Thread David Miller
ers, then I cannot see what kasan for bpf can buy us. To me it tells the world "yes, verifier and carefully designed helpers are insufficient" and that's not the message I have been giving to rooms full of hundreds of people listening to my xdp/bpf presentations.

kasan for bpf

2017-12-22 Thread Alexei Starovoitov
rifier only is not enough and we need to optionally add run-time checks. I think 'kasan for bpf' by default would be good first step. The basic idea is that all accessible memory (stack, ctx, maps) will have shadow bits and every load/store will be automatically instrumented with shadow me