2022-03-25 07:23:29

by Quentin Monnet

[permalink] [raw]
Subject: Re: [PATCH bpf-next] bpf/bpftool: add unprivileged_bpf_disabled check against value of 2

2022-03-22 10:49 UTC-0400 ~ Milan Landaverde <[email protected]>
> In [1], we added a kconfig knob that can set
> /proc/sys/kernel/unprivileged_bpf_disabled to 2
>
> We now check against this value in bpftool feature probe
>
> [1] https://lore.kernel.org/bpf/74ec548079189e4e4dffaeb42b8987bb3c852eee.1620765074.git.daniel@iogearbox.net
>
> Signed-off-by: Milan Landaverde <[email protected]>

Acked-by: Quentin Monnet <[email protected]>

Thanks!