From e5a1983e4384a44e45486fb9a48bdba375a529b6 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Tue, 6 Jun 2023 11:56:21 +0200 Subject: cooker: Draft quality: mknod/mknodat, sets of values with "in" While at it: - directly assign 'fd' in eater from install_filter() - turn op_cmp into a description-style thing Signed-off-by: Stefano Brivio --- cooker/emit.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cooker/emit.h') diff --git a/cooker/emit.h b/cooker/emit.h index 70ffd72..9ec64e0 100644 --- a/cooker/emit.h +++ b/cooker/emit.h @@ -13,6 +13,9 @@ void emit_call(struct gluten_ctx *g, struct ns_spec *ns, 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); +struct gluten_offset emit_mask(struct gluten_ctx *g, enum type type, + struct gluten_offset src, + struct gluten_offset mask); void emit_cmp(struct gluten_ctx *g, enum op_cmp_type cmp, struct gluten_offset x, struct gluten_offset y, size_t size, enum jump_type jmp); -- cgit v1.2.3