Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does gobpf support LSM_PROBE ? #312

Open
YJesus opened this issue Aug 22, 2022 · 1 comment
Open

Does gobpf support LSM_PROBE ? #312

YJesus opened this issue Aug 22, 2022 · 1 comment

Comments

@YJesus
Copy link

YJesus commented Aug 22, 2022

I can't find any reference of LSM in the code. Is possible to use LSM_PROBE in gobpf ??

@YJesus
Copy link
Author

YJesus commented Aug 22, 2022

ok I answer myself:
To build ELF object files for use with the elf package, you must use specific sections (SEC("...")). The following are currently supported:

kprobe/...
cgroup/skb
cgroup/sock
maps/...
socket...
tracepoint...
uprobe/...
uretprobe/...
xdp/...

But is there any chance to implement using RawTracepoint ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant