Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adjust op_call with gluten_offset | Alice Frosi | 2023-05-11 | 1 | -2/+7 |
| | |||||
* | Refactoring of gluten_read/write | Alice Frosi | 2023-05-10 | 1 | -2/+2 |
| | | | | | | | | 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 | ||||
* | seitan: refactor operations | Alice Frosi | 2023-05-08 | 1 | -3/+35 |
| | | | | | | | | | | | Refactoring: - rename do_operations to eval and reduce the number of arguments - create macro HANDLE_OP - rename all functions with op_*(operation name) - exposed the op_* functions in the operations.h Fixes: - use pread for op_load | ||||
* | cooker updates spilling all over the place | Stefano Brivio | 2023-05-02 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only tangentially related: - make seitan C99 again, so that I can build cooker without warnings - make Makefiles make use of the usual conventions about assigning directory paths in variables, drop numbers.h as requirement for cooker and make it convenient to run stand-alone Makefiles - fix up nr_syscalls.sh to be POSIX, otherwise it will give syntax errors on my system - define a single, common way to refer to offsets in gluten, and functions to use those offsets in a safe way. Immediates are gone: cooker will write any bit of "data" to the read-only section - call const what has to be const - define on-disk layout for gluten - add OP_NR (to check syscall numbers), rename OP_COPY_ARGS to OP_LOAD (it loads _selected_ stuff from arguments) As for cooker itself: - drop ARG_ and arg_ prefixes from struct names, and similar - add/rework functions to build OP_NR, OP_LOAD, OP_CMP, and to write constant data to gluten - add parsing for "compound" arguments, but that's not completely hooked into evaluation for numeric arguments yet Signed-off-by: Stefano Brivio <sbrivio@redhat.com> | ||||
* | operation: remove pid and id | Alice Frosi | 2023-04-21 | 1 | -2/+1 |
| | | | | | Pid and id are reduandant fields as the information are already included in the seccomp request | ||||
* | Re-arrange repository structure | Alice Frosi | 2023-03-24 | 1 | -0/+26 |
| | |||||
* | Re-organize project and add license header | Alice Frosi | 2023-03-24 | 1 | -21/+0 |
| | |||||
* | operations: add op_copy | Alice Frosi | 2023-02-23 | 1 | -2/+4 |
| | |||||
* | Rename actions to operations | Alice Frosi | 2023-02-22 | 1 | -0/+19 |
Replace all the action related names to operations to make them more generic. |