From 80309fbd77cbafa3784fa7295afb56c446d59b93 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Fri, 2 Jun 2023 06:21:21 +0200 Subject: cooker, seitan: OP_CALL arguments and context Signed-off-by: Stefano Brivio --- cooker/example.hjson | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'cooker/example.hjson') diff --git a/cooker/example.hjson b/cooker/example.hjson index 4c656f7..7fec039 100644 --- a/cooker/example.hjson +++ b/cooker/example.hjson @@ -33,8 +33,11 @@ "match": [ /* Giuseppe's example */ { "mknod": { "path": { "tag": "path" }, "mode": "c", "major": 1, "minor": { "in": [ 3, 5, 7, 8, 9 ], "tag": "minor" } } } ], - "context": { "userns": "init", "mountns": "caller" }, - "call": { "mknod": { "path": { "tag": { "get": "path" } }, "mode": "c", "major": 1, "minor": { "tag": { "get": "minor" } } }, "ret": "x" }, + "call": { + "mknod": { "path": { "tag": { "get": "path" } }, "mode": "c", "major": 1, "minor": { "tag": { "get": "minor" } } }, + "ret": "x", + "context": { "user": "init", "mnt": "caller" } + }, "inject": { "what": "fd", "new": { "tag": "x" } }, "return": { "tag": "x" } } -- cgit v1.2.3