aboutgitcodelistschat:MatrixIRC
path: root/operations.c
diff options
context:
space:
mode:
Diffstat (limited to 'operations.c')
-rw-r--r--operations.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/operations.c b/operations.c
index 9fbf609..d404b87 100644
--- a/operations.c
+++ b/operations.c
@@ -99,6 +99,11 @@ static int prepare_arg_clone(const struct seccomp_notif *req, struct gluten *g,
if (gluten_read(NULL, g, &c->nr, op->nr, sizeof(c->nr)) == -1)
return -1;
+ for (i = 0; i < 6; i++)
+ if (gluten_read(NULL, g, &c->args[i], op->nr,
+ sizeof(c->args[i])) == -1)
+ return -1;
+
for (i = 0; i < sizeof(enum ns_type); i++) {
ns = &op->context.ns[i];
proc_ns_name(i, ns_name);