aboutgitcodelistschat:MatrixIRC
path: root/demo
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2023-06-09 11:07:25 +0200
committerAlice Frosi <afrosi@redhat.com>2023-06-09 11:08:58 +0200
commit65b5eacaa500e702b982c6848e1ffc18094bc9a9 (patch)
tree1b10a474d914cafbc59c02b64927f59f2a5139aa /demo
parentf1f136577a52b1588da5f74683f41d14df410300 (diff)
downloadseitan-65b5eacaa500e702b982c6848e1ffc18094bc9a9.tar
seitan-65b5eacaa500e702b982c6848e1ffc18094bc9a9.tar.gz
seitan-65b5eacaa500e702b982c6848e1ffc18094bc9a9.tar.bz2
seitan-65b5eacaa500e702b982c6848e1ffc18094bc9a9.tar.lz
seitan-65b5eacaa500e702b982c6848e1ffc18094bc9a9.tar.xz
seitan-65b5eacaa500e702b982c6848e1ffc18094bc9a9.tar.zst
seitan-65b5eacaa500e702b982c6848e1ffc18094bc9a9.zip
demo: with mknod and podman
Splited common functions in web/common.sh and created new script for mknod demo. The demo uses the mount namespace of the caller. Additionally, this removes extra commented lines in demo/mknod.hjson.
Diffstat (limited to 'demo')
-rw-r--r--demo/mknod.hjson31
1 files changed, 1 insertions, 30 deletions
diff --git a/demo/mknod.hjson b/demo/mknod.hjson
index 01f3c07..7055aee 100644
--- a/demo/mknod.hjson
+++ b/demo/mknod.hjson
@@ -26,37 +26,8 @@
"major": 1,
"minor": { "tag": { "get": "minor" } }
},
- "context": { "cwd": "caller" }
+ "context": { "mnt": "caller" }
},
"return": { "value": 0 }
}
]
-
-/*
- * INTFLAGS, LONGFLAGS, U32FLAGS
- *
- * "field": { "in": [ "ipc", "mount", "uts" ] }
- * flags & set
- * !!(flags & (ipc | mount | ns))
- *
- * "field": { "all": [ "ipc", "mount", "uts" ] }
- * flags & set == set
- * flags & (ipc | mount | ns) == (ipc | mount | ns)
- *
- * "field": { "not": [ "ipc", "mount", "uts" ] }
- * !(flags & set)
- *
- * "field": { "ipc": false, "mount": true, "uts": false }
- * flags & set == set
- * !(flags & ipc) && (flags & mount) && !(flags & utc)
- *
- * "field": { "ipc" }
- * flags == ipc
- *
- * INTMASK
- * value = (target value & known values)
- *
- * INT, LONG, U32
- * "arg": { "in": [ 0, 1 ] }
- * arg == 0 || arg == 1
- */