diff options
author | Alice Frosi <afrosi@redhat.com> | 2023-05-17 08:17:06 +0200 |
---|---|---|
committer | Alice Frosi <afrosi@redhat.com> | 2023-05-17 11:00:06 +0200 |
commit | 504d9e38a528ca8bf6f658223a1935e9bc537d8a (patch) | |
tree | 722ccef57b467de309a30a2e7742da033b69db42 /operations.h | |
parent | 16346c99a674d95970cfc59b0aa5d00e91cc4e0f (diff) | |
download | seitan-504d9e38a528ca8bf6f658223a1935e9bc537d8a.tar seitan-504d9e38a528ca8bf6f658223a1935e9bc537d8a.tar.gz seitan-504d9e38a528ca8bf6f658223a1935e9bc537d8a.tar.bz2 seitan-504d9e38a528ca8bf6f658223a1935e9bc537d8a.tar.lz seitan-504d9e38a528ca8bf6f658223a1935e9bc537d8a.tar.xz seitan-504d9e38a528ca8bf6f658223a1935e9bc537d8a.tar.zst seitan-504d9e38a528ca8bf6f658223a1935e9bc537d8a.zip |
ops: add op_nr and op_copy
Add:
- missing implementation for op_nr
- op_copy to copy data
- tests for op_nr and op_data
Diffstat (limited to 'operations.h')
-rw-r--r-- | operations.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/operations.h b/operations.h index 6904b4f..9d017e0 100644 --- a/operations.h +++ b/operations.h @@ -59,4 +59,6 @@ int op_resolve_fd(const struct seccomp_notif *req, int notifier, struct gluten *g, struct op_resolvedfd *op); int op_load(const struct seccomp_notif *req, int notifier, struct gluten *g, struct op_load *load); +int op_copy(const struct seccomp_notif *req, int notifier, struct gluten *g, + struct op_copy *op); #endif /* ACTIONS_H */ |