Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test: fix filter tests | Alice Frosi | 2023-07-04 | 1 | -44/+54 |
| | | | | The filter tests recompile and pass. | ||||
* | treewide: Change to GPLv2, add LICENSES, missing headers | Stefano Brivio | 2023-06-04 | 1 | -1/+1 |
| | | | | | | As discussed with Alice -- 'reuse lint' passes now. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> | ||||
* | filter: adjust filter build | Alice Frosi | 2023-05-19 | 1 | -18/+6 |
| | | | | | | | Add filter_flush_args() to flush the arguments when finish to add the syscall arguments. Fixed test compilation after refactoring. | ||||
* | filter: refactoring filter | Alice Frosi | 2023-05-17 | 1 | -175/+126 |
| | | | | | | | | | | | Attempt to simplify the filter build: - storing all the bpf_args in a common array and saving the index of each entry in filter_input - added new flag to filter_add_arg for append an argument to an entry - split large loop in filter_build in multiple functions - adjust and refactor tests/units/test_filter The tests in test_filter_build.c still need to be fixed | ||||
* | test: add test for and_ne | Alice Frosi | 2023-04-18 | 1 | -10/+38 |
| | |||||
* | test: add unit test for and operation | Alice Frosi | 2023-04-18 | 1 | -0/+66 |
| | |||||
* | Add test for BPF filter comparison operations | Alice Frosi | 2023-04-14 | 1 | -28/+110 |
| | |||||
* | Fix tests | Alice Frosi | 2023-04-13 | 1 | -2/+29 |
| | |||||
* | Refactor tests to use same struct arg as the filter | Alice Frosi | 2023-04-12 | 1 | -31/+15 |
| | |||||
* | Add other comparison operation for the BPF filter | Alice Frosi | 2023-04-12 | 1 | -3/+7 |
| | |||||
* | filter: define arg_cmp and arg_type | Alice Frosi | 2023-04-06 | 1 | -10/+6 |
| | |||||
* | Add support for 64 bits arguments | Alice Frosi | 2023-04-06 | 1 | -6/+70 |
| | |||||
* | fix filter test | Alice Frosi | 2023-04-03 | 1 | -1/+0 |
| | |||||
* | filter: fix filter | Alice Frosi | 2023-04-03 | 1 | -22/+52 |
| | | | | | An additional notification is need either when we jump from an instruction without arguments then at the end of the argument checks. | ||||
* | tests: add tests for filtering the syscalls | Alice Frosi | 2023-03-31 | 1 | -0/+93 |