How to use ringbuffer to send data from user space to kernel space #1387
Answered
by
florianl
windy-purple
asked this question in
Q&A
|
Hello,I'm trying to send data from user space to kernel space in order to dynamically update the kernel layer's pid filter conditions,But I only found examples from kernel space to user space |
Answered by
florianl
Mar 21, 2024
Replies: 2 comments 14 replies
|
The ringbuffer provided by this package currently only supports kernel to user-space communication. |
1 reply
Answer selected by
windy-purple
|
Any plans to have this supported? |
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The ringbuffer provided by this package currently only supports kernel to user-space communication.
For user-space to kernel communication a new eBPF map type/user ringbuffer was introduced with
BPF_MAP_TYPE_USER_RINGBUF. So far, this package does not yet support this kind of new eBPF map type/user ringbuffer