Re: [PATCH bpf-next v3 03/11] bpf: Return -EFAULT on misconfigurations

From: Kumar Kartikeya Dwivedi
Date: Thu May 01 2025 - 18:07:46 EST


On Thu, 1 May 2025 at 09:48, Luis Gerhorst <luis.gerhorst@xxxxxx> wrote:
>
> Mark these cases as non-recoverable to later prevent them from being
> caught when they occur during speculative path verification.
>
> Eduard writes [1]:
>
> The only pace I'm aware of that might act upon specific error code
> from verifier syscall is libbpf. Looking through libbpf code, it seems
> that this change does not interfere with libbpf.
>
> [1] https://lore.kernel.org/all/785b4531ce3b44a84059a4feb4ba458c68fce719.camel@xxxxxxxxx/
>
> Signed-off-by: Luis Gerhorst <luis.gerhorst@xxxxxx>
> Reviewed-by: Eduard Zingerman <eddyz87@xxxxxxxxx>
> Acked-by: Henriette Herzog <henriette.herzog@xxxxxx>
> Cc: Maximilian Ott <ott@xxxxxxxxx>
> Cc: Milan Stephan <milan.stephan@xxxxxx>
> ---

Acked-by: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>