bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question regarding "BPF CO-RE reference guide" blog post
@ 2021-10-25 12:05 Tal Lossos
  2021-10-25 19:20 ` Andrii Nakryiko
  0 siblings, 1 reply; 2+ messages in thread
From: Tal Lossos @ 2021-10-25 12:05 UTC (permalink / raw)
  To: bpf; +Cc: andrii, assaf.shab

Hello!
After reading Andrii's new blog post regarding BPF CO-RE, which was
really lovely and well written, I came up with a small question:
When you gave the example for BPF_CORE_READ, you've accessed the
executable pointer under linux_binfmt struct.
Is it a mistake with linux_binprm struct? or maybe I'm missing something.

Another thing, maybe you could add a little explanation about how
libbpf validates the structs offsets with the help of BTF? It's a key
part of CO-RE so it would be nice to have a little deep-dive in the
blog post about it :)

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-25 19:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-25 12:05 Question regarding "BPF CO-RE reference guide" blog post Tal Lossos
2021-10-25 19:20 ` Andrii Nakryiko

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).