AltraMayor / AltraMayor/gatekeeper
Having a command to test BPF programs
Aperta
enhancement
- Lingua principale
- C
- Stelle
- 1.6k
- Fork
- 252
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Having a command to test BPF programs would ease the development of new BPF programs for Gatekeeper since this command can
1. Verify that both functions (i.e. "init" and "pkt") are present;
2. Check that all symbols can be resolved; and
3. Make sure that both functions pass the BPF verifier.
The code of this command may be able to reuse some of the code in file `gk/bpf.c`.
The name suggestion for this command is "gkbpftest".
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.