On Tue, Apr 4, 2023 at 5:37 AM Andrii Nakryiko <andrii@xxxxxxxxxx> wrote: > > btf_parse() is missing -EFAULT error return if log->ubuf was NULL-ed out > due to error while copying data into user-provided buffer. Add it, but > handle a special case of BPF_LOG_KERNEL in which log->ubuf is always NULL. > > Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx> Acked-by: Lorenz Bauer <lmb@xxxxxxxxxxxxx>