From 00614c5e6702db8ac3f18a9e193c7a8382f16e6b Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Wed, 14 Jun 2023 07:25:52 +0200 Subject: cooker: Support for read(), OP_STORE, field-based filters Signed-off-by: Stefano Brivio --- common/gluten.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'common') 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; -- cgit v1.2.3