aboutgitcodelistschat:MatrixIRC
path: root/cooker/example.hjson
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-06-02 06:21:21 +0200
committerStefano Brivio <sbrivio@redhat.com>2023-06-02 06:21:21 +0200
commit80309fbd77cbafa3784fa7295afb56c446d59b93 (patch)
tree27cfa1ce846e1d2dc0aa2e55487db66120312aff /cooker/example.hjson
parent1644bbec6161ec971a2ba3c213ce285b995cac22 (diff)
downloadseitan-80309fbd77cbafa3784fa7295afb56c446d59b93.tar
seitan-80309fbd77cbafa3784fa7295afb56c446d59b93.tar.gz
seitan-80309fbd77cbafa3784fa7295afb56c446d59b93.tar.bz2
seitan-80309fbd77cbafa3784fa7295afb56c446d59b93.tar.lz
seitan-80309fbd77cbafa3784fa7295afb56c446d59b93.tar.xz
seitan-80309fbd77cbafa3784fa7295afb56c446d59b93.tar.zst
seitan-80309fbd77cbafa3784fa7295afb56c446d59b93.zip
cooker, seitan: OP_CALL arguments and context
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'cooker/example.hjson')
-rw-r--r--cooker/example.hjson7
1 files changed, 5 insertions, 2 deletions
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" }
}