Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | cooker updates spilling all over the place | Stefano Brivio | 2023-05-02 | 8 | -148/+356 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> | |||||
* | filter: add missing license header | Alice Frosi | 2023-04-25 | 2 | -0/+10 | |
| | ||||||
* | filter: remove logging part | Alice Frosi | 2023-04-25 | 2 | -20/+3 | |
| | | | | The logging will be handled different using op_log | |||||
* | filter: clean-up unused functions | Alice Frosi | 2023-04-18 | 1 | -28/+4 | |
| | ||||||
* | filter: remove superfluous jumps | Alice Frosi | 2023-04-18 | 1 | -25/+25 | |
| | ||||||
* | filter: add and_ne operation | Alice Frosi | 2023-04-18 | 1 | -4/+39 | |
| | ||||||
* | filter: add and operation | Alice Frosi | 2023-04-18 | 2 | -10/+57 | |
| | ||||||
* | Fix filter offset for gt and lt | Alice Frosi | 2023-04-14 | 1 | -2/+2 | |
| | ||||||
* | Add comparison operations to the BPF filter | Alice Frosi | 2023-04-13 | 1 | -2/+20 | |
| | ||||||
* | Fix offset after refactoring | Alice Frosi | 2023-04-12 | 1 | -1/+5 | |
| | ||||||
* | Add other comparison operation for the BPF filter | Alice Frosi | 2023-04-12 | 2 | -35/+111 | |
| | ||||||
* | filter: define arg_cmp and arg_type | Alice Frosi | 2023-04-06 | 2 | -13/+16 | |
| | ||||||
* | Add support for 64 bits arguments | Alice Frosi | 2023-04-06 | 2 | -17/+94 | |
| | ||||||
* | filter: fix filter | Alice Frosi | 2023-04-03 | 1 | -34/+65 | |
| | | | | | An additional notification is need either when we jump from an instruction without arguments then at the end of the argument checks. | |||||
* | filter: load argument to check | Alice Frosi | 2023-03-31 | 2 | -1/+10 | |
| | ||||||
* | cooker: fix argument evaluation | Alice Frosi | 2023-03-29 | 1 | -19/+66 | |
| | | | | | Check sequentially the arguments for a syscall entry. If the check isn't successful then pass to the next entry. | |||||
* | cooker: add filter.c/.h to the Makefile | Alice Frosi | 2023-03-29 | 1 | -3/+17 | |
| | | | | Integration of filter part in cooker. The filter requires the AUDIT_ARCH variable. | |||||
* | Rename cooker and eater with seitan prefix | Alice Frosi | 2023-03-28 | 19 | -0/+3468 | |
| | ||||||
* | Re-organize project and add license header | Alice Frosi | 2023-03-24 | 19 | -3179/+0 | |
| | ||||||
* | cooker: Initial import of new implementation | Stefano Brivio | 2023-03-20 | 19 | -0/+3179 | |
Signed-off-by: Stefano Brivio <sbrivio@redhat.com> |