From 5a9302bab9c9bb3d1577f04678d074fb7af4115f Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Wed, 15 May 2024 08:49:56 +0200 Subject: Add fsetxattr(), fremovexattr(), open_by_handle_at(), and "virtiofsd demo" Mostly assorted fixes, a new FDGET operation (get a copy of the target file descriptor via pidfd_getfd()) and a new "FD" flag that means we have to do that on direct tag reference. Signed-off-by: Stefano Brivio --- operations.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'operations.h') diff --git a/operations.h b/operations.h index 6cff7a8..4c827f9 100644 --- a/operations.h +++ b/operations.h @@ -61,4 +61,6 @@ int op_copy(const struct seccomp_notif *req, int notifier, struct gluten *g, struct op_copy *op); int op_fd(const struct seccomp_notif *req, int notifier, struct gluten *g, struct op_fd *op); +int op_fdget(const struct seccomp_notif *req, int notifier, struct gluten *g, + struct op_fdget *op); #endif /* ACTIONS_H */ -- cgit v1.2.3