ebpf: sending data from userspace and waiting for that
-1
votes
1
answer
912
views
I'm using ebpf and bcc to write an ebpf-lsm program. I want to block a connected USB device and send its info to userspace and the user send me whether I bind that device or no.
how can I do this? I know using ebpf maps we can receive data from userspace, well how can I wait for that? in another word, how can I block ebpf program until user responses?
thank you for any guidness!
Asked by Redwan
(1 rep)
Jun 12, 2021, 05:08 AM
Last activity: Jun 15, 2021, 09:12 AM
Last activity: Jun 15, 2021, 09:12 AM