aboutgitcodelistschat:MatrixIRC
path: root/cooker/emit.h
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2023-06-07 14:07:23 +0200
committerAlice Frosi <afrosi@redhat.com>2023-06-07 15:35:59 +0200
commitb2e31a6e7493c56f923cb7d86f7a8a32940393ec (patch)
tree764d0d6e5853be5b1d99bd0207ffa8f382c4f7cb /cooker/emit.h
parent9812b2002de051f0051383365b2fb9863885bb60 (diff)
downloadseitan-b2e31a6e7493c56f923cb7d86f7a8a32940393ec.tar
seitan-b2e31a6e7493c56f923cb7d86f7a8a32940393ec.tar.gz
seitan-b2e31a6e7493c56f923cb7d86f7a8a32940393ec.tar.bz2
seitan-b2e31a6e7493c56f923cb7d86f7a8a32940393ec.tar.lz
seitan-b2e31a6e7493c56f923cb7d86f7a8a32940393ec.tar.xz
seitan-b2e31a6e7493c56f923cb7d86f7a8a32940393ec.tar.zst
seitan-b2e31a6e7493c56f923cb7d86f7a8a32940393ec.zip
seitan,cooker: op_resolvefd
ops: - update resolvefd with the description - add debug prints cooker: - add emit_resolvefd when match has type FDPATH
Diffstat (limited to 'cooker/emit.h')
-rw-r--r--cooker/emit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cooker/emit.h b/cooker/emit.h
index 9ec64e0..18618ee 100644
--- a/cooker/emit.h
+++ b/cooker/emit.h
@@ -16,6 +16,7 @@ void emit_load(struct gluten_ctx *g, struct gluten_offset dst,
struct gluten_offset emit_mask(struct gluten_ctx *g, enum type type,
struct gluten_offset src,
struct gluten_offset mask);
+struct gluten_offset emit_seccomp_data(int index);
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);
@@ -29,6 +30,8 @@ void emit_copy(struct gluten_ctx *g,
struct gluten_offset dst, struct gluten_offset src, size_t size);
void emit_copy_field(struct gluten_ctx *g, struct field *field,
struct gluten_offset dst, struct gluten_offset src);
+void emit_resolvefd(struct gluten_ctx *g, struct gluten_offset fd,
+ struct gluten_offset path, size_t path_size);
void emit_end(struct gluten_ctx *g);
struct gluten_offset emit_data(struct gluten_ctx *g, enum type type,
size_t str_len, union value *value);