aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
authorSablin Viacheslav <sjava1902@gmail.com>2024-11-13 01:16:42 +0300
committerAleksandr Nogikh <nogikh@google.com>2024-11-29 14:34:36 +0000
commit2c633c86520193693e3e2fab35f7115e5ac7f747 (patch)
tree1407ad24789b91ed6d09be8cdd0a498e1f83186e /executor/common_linux.h
parent5df2386563cbffa1bbbb9d0b8ec1eebb98d051ae (diff)
sys/linux: updated fuse fs specifications
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h
index ef78a5175..a84b2eeb0 100644
--- a/executor/common_linux.h
+++ b/executor/common_linux.h
@@ -5279,6 +5279,9 @@ enum fuse_opcode {
FUSE_COPY_FILE_RANGE = 47,
FUSE_SETUPMAPPING = 48,
FUSE_REMOVEMAPPING = 49,
+ FUSE_SYNCFS = 50,
+ FUSE_TMPFILE = 51,
+ FUSE_STATX = 52,
// CUSE specific operations
CUSE_INIT = 4096,
@@ -5330,6 +5333,7 @@ struct syz_fuse_req_out {
struct fuse_out_header* direntplus;
struct fuse_out_header* create_open;
struct fuse_out_header* ioctl;
+ struct fuse_out_header* statx;
};
// Link the reponse to the request and send it to /dev/fuse.
@@ -5478,6 +5482,9 @@ static volatile long syz_fuse_handle_req(volatile long a0, // /dev/fuse fd.
case FUSE_IOCTL:
out_hdr = req_out->ioctl;
break;
+ case FUSE_STATX:
+ out_hdr = req_out->statx;
+ break;
default:
debug("syz_fuse_handle_req: unknown FUSE opcode\n");
return -1;