foniod / redbpf

Rust library for building and running BPF/eBPF modules
Apache License 2.0
1.71k stars 136 forks source link

Avoid linking of BPF programs #291

Closed rhdxmr closed 2 years ago

rhdxmr commented 2 years ago

Linking does not create any useful stuff. ELF object file that contains BPF programs are already generated before the linking step so it is okay to ignore the linking procedure.

Instead of executing ld to link BPF programs, run the true command to do nothing successfully.

Signed-off-by: Junyeong Jeong rhdxmr@gmail.com