On Thu, Jun 18, 2020 at 08:58:06PM -0700, Andrii Nakryiko wrote: > On Tue, Jun 16, 2020 at 3:06 AM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > > > There's no need for it. > > > > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx> > > --- > > 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. ok, will keep it jirka > > > 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(-) > > > > [...] >