bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Alexei Starovoitov" <alexei.starovoitov@gmail.com>
To: "Anton Protopopov" <a.s.protopopov@gmail.com>,
	"Daniel Borkmann" <daniel@iogearbox.net>,
	"Andrii Nakryiko" <andrii@kernel.org>,
	"Eduard Zingerman" <eddyz87@gmail.com>,
	"Kumar Kartikeya Dwivedi" <memxor@gmail.com>,
	"Jiri Olsa" <jolsa@kernel.org>,
	"Alan Maguire" <almagui@kernel.org>,
	"John Fastabend" <john.fastabend@gmail.com>,
	<bpf@vger.kernel.org>
Subject: Re: [PATCH v1 bpf-next 3/5] resolve_btfids: Exclude a set of functions by name
Date: Thu, 26 Nov 2026 00:55:35 +0000	[thread overview]
Message-ID: <DN4QEPLSCNSU.3MRSDSGO4H4CH@gmail.com> (raw)
In-Reply-To: <20261125212849.868523-4-a.s.protopopov@gmail.com>

On Wed, Nov 25, 2026 at 01:28 PM Anton Protopopov <a.s.protopopov@gmail.com> wrote:
> On arm64 ftrace writes the code with
> aarch64_insn_patch_text_nosync(), which is traceable without KPROBES.
> The same holds for it.

Pls add these two as well:

  target                         error    after the skip
  -----------------------------  -------  ---------------------------------
  copy_to_kernel_nofault()       -EFAULT  arm64, with KPROBES too:
                                          __aarch64_insn_write() fails.
                                          ftrace_bug(), no text poke.
                                          text_poke_memcpy() ignores it.
                                          bpf_arch_text_copy() returns dst.
                                          The new prog is all BRK insns
  tracepoint_probe_unregister()  -ENOENT  bpf_raw_tp_link_release() ignores
                                          it. __bpf_trace_run() reads the
                                          freed link

  parent reply	other threads:[~2026-11-26  0:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 21:28 [PATCH v1 bpf-next 0/5] Do not tag selected functions as fmodret targets Anton Protopopov
2026-11-25 21:28 ` [PATCH v1 bpf-next 1/5] resolve_btfids: Do not tag functions which work on BPF objects Anton Protopopov
2026-11-25 21:25   ` sashiko-bot
2026-11-26 10:50     ` Anton Protopopov
2026-11-25 22:14   ` bot+bpf-ci
2026-11-26 10:49     ` Anton Protopopov
2026-11-25 21:28 ` [PATCH v1 bpf-next 2/5] resolve_btfids: Do not tag kfuncs and helpers Anton Protopopov
2026-11-25 21:28 ` [PATCH v1 bpf-next 3/5] resolve_btfids: Exclude a set of functions by name Anton Protopopov
2026-11-25 21:57   ` bot+bpf-ci
2026-11-26  0:55   ` Alexei Starovoitov [this message]
2026-11-26  0:56   ` Alexei Starovoitov
2026-11-26 11:29     ` Anton Protopopov
2026-11-25 21:28 ` [PATCH v1 bpf-next 4/5] resolve_btfids: Exclude the code of kernel/bpf and of the JIT Anton Protopopov
2026-11-25 22:15   ` bot+bpf-ci
2026-11-26  0:53   ` Alexei Starovoitov
2026-11-26 13:18     ` Anton Protopopov
2026-11-25 21:28 ` [PATCH v1 bpf-next 5/5] selftests/bpf: Test functions which must have no fmod_ret tag Anton Protopopov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DN4QEPLSCNSU.3MRSDSGO4H4CH@gmail.com \
    --to=alexei.starovoitov@gmail.com \
    --cc=a.s.protopopov@gmail.com \
    --cc=almagui@kernel.org \
    --cc=andrii@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=memxor@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).