We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sys_enter_execve
mm_page_alloc_zone_locked
My system is:
$ uname -a Linux localhost.localdomain 5.11.12-300.fc34.x86_64 #1 SMP Wed Apr 7 16:31:13 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
The minimal example:
#include "vmlinux.h" #include <bpf/bpf_helpers.h> char LICENSE[] SEC("license") = "Dual BSD/GPL"; SEC("tracepoint/syscalls/sys_enter_execve") int execve(void *ctx) { u32 value = 0; bpf_probe_read(&value, sizeof(value), ctx); return 0; } SEC("tracepoint/kmem/mm_page_alloc_zone_locked") int page_alloc(void *ctx) { u32 value = 0; bpf_probe_read(&value, sizeof(value), ctx); return 0; }
It is a *.bpf.c file. In userspace do open, load and attach as usual. And entire system is freeze.
*.bpf.c
open
load
attach
Obviously it is a kernel bug.
The text was updated successfully, but these errors were encountered:
I can't repro this.
Sorry, something went wrong.
@chenhengqi I tried in virtual machine and I cannot reproduce it too. The problem is somewhere in my system. I'll try to find precise conditions.
No branches or pull requests
My system is:
The minimal example:
It is a
*.bpf.c
file. In userspace doopen
,load
andattach
as usual. And entire system is freeze.Obviously it is a kernel bug.
The text was updated successfully, but these errors were encountered: