diff options
| author | Stefano Duo <stefanoduo@google.com> | 2020-08-10 11:32:20 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-08-14 18:55:11 +0200 |
| commit | a1481759c36a84dd1316d40531fc65b3dd6f5b8f (patch) | |
| tree | c21e539046abe00f7d1ee9a63874c836f8a5cf04 /executor/executor_test.h | |
| parent | aa6107e60d2616837cbf09be1e371132718306dc (diff) | |
executor/common_linux.h: open target dir inside syz_mount_image()
Refactor syz_mount_image() to support filesystems not requiring a
backing device and filesystem image (e.g. FUSE). To do that, we check for
the presence of the pointer to the array of struct fs_image_segment: if
missingi, there is no need to setup the loop device and we can proceed
directly with the mount() syscall.
Add syz_mount_image$fuse() (specialization for FUSE) inside
sys/linux/fs_fuse.txt.
Diffstat (limited to 'executor/executor_test.h')
0 files changed, 0 insertions, 0 deletions
