aboutgitcodelistschat:MatrixIRC
path: root/operations.h
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2023-03-24 10:07:48 +0100
committerAlice Frosi <afrosi@redhat.com>2023-03-24 15:38:07 +0100
commit069009f8e39238ec1a67fba6cfb287b9a0cac83e (patch)
tree77f817eb7b96178b71f3d573a83cec19f7fba09c /operations.h
parent06b0f6d323c396ca1df000af96fdd07cc69b06e0 (diff)
downloadseitan-069009f8e39238ec1a67fba6cfb287b9a0cac83e.tar
seitan-069009f8e39238ec1a67fba6cfb287b9a0cac83e.tar.gz
seitan-069009f8e39238ec1a67fba6cfb287b9a0cac83e.tar.bz2
seitan-069009f8e39238ec1a67fba6cfb287b9a0cac83e.tar.lz
seitan-069009f8e39238ec1a67fba6cfb287b9a0cac83e.tar.xz
seitan-069009f8e39238ec1a67fba6cfb287b9a0cac83e.tar.zst
seitan-069009f8e39238ec1a67fba6cfb287b9a0cac83e.zip
Re-organize project and add license header
Diffstat (limited to 'operations.h')
-rw-r--r--operations.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/operations.h b/operations.h
deleted file mode 100644
index 8996065..0000000
--- a/operations.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef ACIONS_H
-#define ACTIONS_H
-
-#include <errno.h>
-#include <linux/seccomp.h>
-
-#define STACK_SIZE (1024 * 1024 / 8)
-#define NS_NUM (sizeof(enum ns_type))
-
-struct arg_clone {
- const struct op_call *args;
- pid_t pid;
- long ret;
- int err;
-};
-
-int do_call(struct arg_clone *c);
-int do_operations(void *data, struct op operations[], struct seccomp_notif *req,
- unsigned int n_operations, int tpid, int notifyfd,
- uint64_t id);
-#endif /* ACTIONS_H */