aboutgitcodelistschat:MatrixIRC
path: root/tests/unit/test_operations.c
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring of gluten_read/writeAlice Frosi2023-05-101-8/+8
| | | | | | | | Refactor includes: - use static inline instead of macro - return -1 if there is an error and don't exit - eval return 0 or -1 - adjust code and tests
* test: fix operationsAlice Frosi2023-05-081-262/+187
| | | | Adjust the tests after the refactoring and to use struct gluten_offset
* test: uncomment testAlice Frosi2023-04-211-1/+1
|
* test: test various values for op_cmp_typeAlice Frosi2023-04-211-8/+83
|
* tests: clean-up created fileAlice Frosi2023-04-211-1/+2
|
* operation: remove pid and idAlice Frosi2023-04-211-23/+23
| | | | | Pid and id are reduandant fields as the information are already included in the seccomp request
* Fix testsAlice Frosi2023-04-131-8/+3
|
* Refactor tests to use same struct arg as the filterAlice Frosi2023-04-121-3/+6
|
* test: moving shareable function in a separate fileAlice Frosi2023-03-301-172/+5
|
* Create common function to install the BPF filterAlice Frosi2023-03-301-14/+3
|
* tests: Adjust project directory and add license headersAlice Frosi2023-03-241-3/+8
|
* tests: add unit tests for op_resolvedfdAlice Frosi2023-03-151-1/+77
|
* tests: add test for op_cmpAlice Frosi2023-02-271-1/+63
|
* test: fix arguments and offsetsAlice Frosi2023-02-271-6/+7
|
* seitan: copy immediate args with op_copyAlice Frosi2023-02-271-3/+10
|
* tests: add test for op_copyAlice Frosi2023-02-231-0/+64
| | | | | | The target process tries to perform a connect syscall and we need to check that the struct sockaddr_un is correctly copied from the memory of the target process
* tests: generalize the syscall of the targetAlice Frosi2023-02-231-12/+19
| | | | | Refactor the tests to pass the filtered syscall and setting the argument into the shared struct.
* test: fix check of a_blockAlice Frosi2023-02-231-1/+5
|
* tests: adjust do_operations signatureAlice Frosi2023-02-231-7/+7
| | | | Signed-off-by: Alice Frosi <afrosi@redhat.com>
* Rename actions to operationsAlice Frosi2023-02-221-0/+438
Replace all the action related names to operations to make them more generic.