On Tue, Jun 16, 2020 at 3:06 AM Jiri Olsa <jo...@kernel.org> wrote:
>
> There's no need for it.
>
> Signed-off-by: Jiri Olsa <jo...@kernel.org>
> ---

It matches bpf_verifier_ops->btf_struct_access, though, which, I
think, actually allows write access for some special cases. So I think
we should keep it.

>  include/linux/bpf.h   | 1 -
>  kernel/bpf/btf.c      | 3 +--
>  kernel/bpf/verifier.c | 2 +-
>  net/ipv4/bpf_tcp_ca.c | 2 +-
>  4 files changed, 3 insertions(+), 5 deletions(-)
>

[...]

Reply via email to