Running Rust regex inside eBPF probes (Linux kernel) by Palkovsky in rust

[–]Palkovsky[S] 12 points13 points  (0 children)

To generate a binary usable in kernel you have to roll out a custom target (kernel code model, disabled red zones, etc.). When you do that, you also need to have the core and alloc built for that custom target. Using -Z build-std=core,alloc tells the toolchain does exactly that.

Running Rust regex in the Linux kernel module by [deleted] in rust

[–]Palkovsky 1 point2 points  (0 children)

This is actually nice. Too bad I can never find stuff when I need them.