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:pull/350/head33a1aee2ea/echo-ebpf/src/main.rs (L47)
Tested on:876f8b4551
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
parent
70b4e68130
commit
628b473e09
Loading…
Reference in New Issue