diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2023-06-14 07:25:52 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-06-14 07:25:52 +0200 |
commit | 00614c5e6702db8ac3f18a9e193c7a8382f16e6b (patch) | |
tree | b8275d1060e994e18d7fbfead0244629752cb555 /common | |
parent | 8bc937c1442d212926dadb6227b759966bc13925 (diff) | |
download | seitan-00614c5e6702db8ac3f18a9e193c7a8382f16e6b.tar seitan-00614c5e6702db8ac3f18a9e193c7a8382f16e6b.tar.gz seitan-00614c5e6702db8ac3f18a9e193c7a8382f16e6b.tar.bz2 seitan-00614c5e6702db8ac3f18a9e193c7a8382f16e6b.tar.lz seitan-00614c5e6702db8ac3f18a9e193c7a8382f16e6b.tar.xz seitan-00614c5e6702db8ac3f18a9e193c7a8382f16e6b.tar.zst seitan-00614c5e6702db8ac3f18a9e193c7a8382f16e6b.zip |
cooker: Support for read(), OP_STORE, field-based filters
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/gluten.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/gluten.h b/common/gluten.h index 91bc85e..57b94f4 100644 --- a/common/gluten.h +++ b/common/gluten.h @@ -68,6 +68,7 @@ enum op_type { OP_FD, OP_RETURN, OP_LOAD, + OP_STORE, OP_BITWISE, OP_CMP, OP_RESOLVEDFD, @@ -185,6 +186,12 @@ struct op_load { size_t size; }; +struct op_store { + struct gluten_offset src; + struct gluten_offset dst; + struct gluten_offset count; +}; + enum op_cmp_type { CMP_EQ, CMP_NE, @@ -250,6 +257,7 @@ struct op { struct op_return ret; struct op_fd fd; struct op_load load; + struct op_store store; struct op_bitwise bitwise; struct op_cmp cmp; struct op_resolvefd resfd; |