How to use ringbuffer to send data from user space to kernel space #1387
-
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 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
The ringbuffer provided by this package currently only supports kernel to user-space communication. |
Beta Was this translation helpful? Give feedback.
-
Any plans to have this supported? |
Beta Was this translation helpful? Give feedback.
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