Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor tests to use same struct arg as the filter | Alice Frosi | 2023-04-12 | 1 | -2/+2 |
| | |||||
* | Add other comparison operation for the BPF filter | Alice Frosi | 2023-04-12 | 1 | -1/+4 |
| | |||||
* | Refactor makefile | Alice Frosi | 2023-04-06 | 1 | -12/+20 |
| | |||||
* | tests: add tests for filtering the syscalls | Alice Frosi | 2023-03-31 | 1 | -3/+13 |
| | |||||
* | test: moving shareable function in a separate file | Alice Frosi | 2023-03-30 | 1 | -4/+4 |
| | |||||
* | Create common function to install the BPF filter | Alice Frosi | 2023-03-30 | 1 | -2/+2 |
| | |||||
* | test: rename test-filter.c to test_filter_build.c | Alice Frosi | 2023-03-30 | 1 | -4/+4 |
| | |||||
* | test: fix cooker directory | Alice Frosi | 2023-03-29 | 1 | -1/+1 |
| | |||||
* | tests: Adjust project directory and add license headers | Alice Frosi | 2023-03-24 | 1 | -9/+42 |
| | |||||
* | Rename actions to operations | Alice Frosi | 2023-02-22 | 1 | -9/+9 |
| | | | | | Replace all the action related names to operations to make them more generic. | ||||
* | tests: add test-action-call when running make test-unit | Alice Frosi | 2023-02-21 | 1 | -2/+2 |
| | |||||
* | Add test actions | Alice Frosi | 2023-02-15 | 1 | -1/+7 |
| | | | | | | | | | Unit test for the action return, block and continue. The unit test installs a seccomp filter into the target for filter the getpid syscalls. Based on the action, the test checks the result of the syscall in the target to validate the correctness of the actions. Signed-off-by: Alice Frosi <afrosi@redhat.com> | ||||
* | test: add unit test for act call | Alice Frosi | 2023-02-15 | 1 | -1/+6 |
| | | | | | | | | | Tests: - getppid syscall - read syscall without context - opena and read syscalls with a mount namespace Signed-off-by: Alice Frosi <afrosi@redhat.com> | ||||
* | Add unit tests for the BPF filter generation | Alice Frosi | 2022-12-21 | 1 | -0/+5 |
The test-filter verifies that the create_bfp_program builds the filter correctly. The test suite includes the tests for checking a filter with: * a single instruction * a single instruction with arguments * 2 instructions * multiple instructions * multiple instructions with arguments * multiple instructions with multiple instance of the same instruction Signed-off-by: Alice Frosi <afrosi@redhat.com> |