Michal Rostecki
e1fb8024a6
fentry/fexit: Add template for fentry/fexit programs
...
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
3 years ago
William Findlay
d4a4f33902
ebpf: use new SkBuffContext instead of SkSkbContext
3 years ago
William Findlay
3f082e713e
tp_btf: add template for tp_btf programs
3 years ago
William Findlay
7ffb47cc6b
template: add a new template for LSM programs
3 years ago
Alessandro Decina
ffa931552e
ebpf: use core::hint::unreachable_unchecked()
...
unreachable!() can panic when debug assertions is on, and we don't want
that inside a panic handler
3 years ago
Dave Tucker
d98d90be7a
Generate Skeleton Programs for all program types
...
User may specify a program_type by prompt or CLI flag.
We then generate skeleton code to the ebpf program for a noop program of
that type.
Requires cargo-generate@main
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago
Dave Tucker
9e1c761d8d
Initial Commit
...
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
4 years ago