Re: [PATCH bpf-next 0/7] libbpf feature probing and sanitization improvements

2020-08-18 Thread Alexei Starovoitov
On Tue, Aug 18, 2020 at 02:33:49PM -0700, Andrii Nakryiko wrote: > This patch set refactors libbpf feature probing to be done lazily on as-needed > basis, instead of proactively testing all possible features libbpf knows > about. This allows to scale such detections and mitigations better, without

[PATCH bpf-next 0/7] libbpf feature probing and sanitization improvements

2020-08-18 Thread Andrii Nakryiko
This patch set refactors libbpf feature probing to be done lazily on as-needed basis, instead of proactively testing all possible features libbpf knows about. This allows to scale such detections and mitigations better, without issuing unnecessary syscalls on each bpf_object__load() call. It's also

[RFC PATCH bpf-next 0/7] libbpf feature probing and sanitization improvements

2020-08-07 Thread Andrii Nakryiko
This patch set refactors libbpf feature probing to be done lazily on as-needed basis, instead of proactively testing all possible features libbpf knows about. This allows to scale such detections and mitigations better, without issues unnecessary syscalls on each bpf_object__load() call. It's also