diff options
author | Alice Frosi <afrosi@redhat.com> | 2023-02-22 17:13:59 +0100 |
---|---|---|
committer | Alice Frosi <afrosi@redhat.com> | 2023-02-23 16:15:33 +0100 |
commit | 36cbebd3c81b75f709ac5e6f6df36e0e37893d3d (patch) | |
tree | 0b74a4e81c2f1d20566fdd1d53e4ff49cdd39a94 /operations.h | |
parent | 5523c957d3a261bb29ec6da382a15538e42ae737 (diff) | |
download | seitan-36cbebd3c81b75f709ac5e6f6df36e0e37893d3d.tar seitan-36cbebd3c81b75f709ac5e6f6df36e0e37893d3d.tar.gz seitan-36cbebd3c81b75f709ac5e6f6df36e0e37893d3d.tar.bz2 seitan-36cbebd3c81b75f709ac5e6f6df36e0e37893d3d.tar.lz seitan-36cbebd3c81b75f709ac5e6f6df36e0e37893d3d.tar.xz seitan-36cbebd3c81b75f709ac5e6f6df36e0e37893d3d.tar.zst seitan-36cbebd3c81b75f709ac5e6f6df36e0e37893d3d.zip |
operations: add op_copy
Diffstat (limited to 'operations.h')
-rw-r--r-- | operations.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/operations.h b/operations.h index aeb09d5..8996065 100644 --- a/operations.h +++ b/operations.h @@ -2,6 +2,7 @@ #define ACTIONS_H #include <errno.h> +#include <linux/seccomp.h> #define STACK_SIZE (1024 * 1024 / 8) #define NS_NUM (sizeof(enum ns_type)) @@ -14,6 +15,7 @@ struct arg_clone { }; int do_call(struct arg_clone *c); -int do_operations(void *data, struct op operations[], unsigned int n_operations, - int tpid, int notifyfd, uint64_t id); +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 */ |