mirror of https://github.com/aya-rs/aya
ebpf: Ensure the bounds of log buffer
eBPF verifier rejects programs which are not checking the bounds of the log buffer before writing any arguments. This change ensures that written log arguments. In practice, it means that doing this kind of checks is not going to be needed in eBPF program code anymore:33a1aee2ea/echo-ebpf/src/main.rs (L47)
Tested on:876f8b4551
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
parent
808575bf56
commit
9be90f8a74
Loading…
Reference in New Issue