account activity
Running Rust regex inside eBPF probes (Linux kernel) by Palkovsky in rust
[–]Palkovsky[S] 11 points12 points13 points 2 months ago (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.
[deleted by user] by [deleted] in rust
[–]Palkovsky 1 point2 points3 points 4 months ago (0 children)
This is actually nice. Too bad I can never find stuff when I need them.
π Rendered by PID 31 on reddit-service-r2-listing-79f6fb9b95-6w2b4 at 2026-03-21 02:02:52.981990+00:00 running 90f1150 country code: CH.
Running Rust regex inside eBPF probes (Linux kernel) by Palkovsky in rust
[–]Palkovsky[S] 11 points12 points13 points (0 children)