On Thu, Oct 29, 2020 at 1:38 PM Andrii Nakryiko
<[email protected]> wrote:
>
> On Thu, Oct 29, 2020 at 1:16 PM Florian Lehner <[email protected]> wrote:
> >
> > Currently key_size of hashtab is limited to MAX_BPF_STACK.
> > As the key of hashtab can also be a value from a per cpu map it can be
> > larger than MAX_BPF_STACK.
> >
> > The use-case for this patch originates to implement allow/disallow
> > lists for files and file paths. The maximum length of file paths is
> > defined by PATH_MAX with 4096 chars including nul.
> > This limit exceeds MAX_BPF_STACK.
> >
> > Changelog:
> >
> > v5:
> >  - Fix cast overflow
> >
> > v4:
> >  - Utilize BPF skeleton in tests
> >  - Rebase
> >
> > v3:
> >  - Rebase
> >
> > v2:
> >  - Add a test for bpf side
> >
> > Signed-off-by: Florian Lehner <[email protected]>
> > Acked-by: John Fastabend <[email protected]>
> > ---
>
> LGTM.
> Acked-by: Andrii Nakryiko <[email protected]>

Applied.
Sorry for the delay. The patch got lost in patchwork.

Reply via email to