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 --- cooker/emit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cooker/emit.h') diff --git a/cooker/emit.h b/cooker/emit.h index 1cdadb9..b4f1ae7 100644 --- a/cooker/emit.h +++ b/cooker/emit.h @@ -13,6 +13,8 @@ void emit_call(struct gluten_ctx *g, struct context_desc *cdesc, long nr, struct gluten_offset offset[6], struct gluten_offset ret_offset); void emit_load(struct gluten_ctx *g, struct gluten_offset dst, int index, size_t len); +void emit_store(struct gluten_ctx *g, struct gluten_offset dst, + struct gluten_offset src, struct gluten_offset count); struct gluten_offset emit_seccomp_data(int index); struct gluten_offset emit_bitwise(struct gluten_ctx *g, enum type type, enum bitwise_type op_type, -- cgit v1.2.3