Hello iovisor friends,

I'm curious what my options are for running a BPF program once,
immediately, in the virtual memory context of a particular (user space)
process. For example, say I want to read the current value from a known
virtual memory address in the process' space. I'm curious if there's an
official answer or, short of that, tricks that people might have used.
What I want is similar in spirit to BPF_PROG_RUN, I think, except that I
think I want my program type to be perf-event (and BPF_PROG_RUN doesn't
seem to support this program type), and I want to also control
specify which process I'm interested in.

I feel like one solution might be around sending a signal to the process
I'm interested in and placing a uprobe somewhere on the signal handling
path, but I'm not sure of a general way to do this. Any suggestion is most
welcome.

Thank you!

- Andrei


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#2026): https://lists.iovisor.org/g/iovisor-dev/message/2026
Mute This Topic: https://lists.iovisor.org/mt/95756130/21656
Group Owner: [email protected]
Unsubscribe: https://lists.iovisor.org/g/iovisor-dev/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to