I have created a simple project based on the LSM example that uses a HashMap to exchange information between the eBPF program and the user space program. However, I notice that when I execute the user space program (which loads the eBPF program), the map still has information from the previous execution.
I have created a simple project based on the LSM example that uses a HashMap to exchange information between the eBPF program and the user space program. However, I notice that when I execute the user space program (which loads the eBPF program), the map still has information from the previous execution.
Is this the expected behavior? If so, why?