Re: [PATCH bpf v2 1/2] bpf: support PTR_TO_MEM{,_OR_NULL} register spilling

From: KP Singh
Date: Wed Jan 13 2021 - 21:06:01 EST


On Wed, Jan 13, 2021 at 6:38 AM Gilad Reti <gilad.reti@xxxxxxxxx> wrote:
>
> Add support for pointer to mem register spilling, to allow the verifier
> to track pointers to valid memory addresses. Such pointers are returned
> for example by a successful call of the bpf_ringbuf_reserve helper.
>
> The patch was partially contributed by CyberArk Software, Inc.
>
> Fixes: 457f44363a88 ("bpf: Implement BPF ring buffer and verifier support for it")
> Suggested-by: Yonghong Song <yhs@xxxxxx>
> Signed-off-by: Gilad Reti <gilad.reti@xxxxxxxxx>

Acked-by: KP Singh <kpsingh@xxxxxxxxxx>