Corpus for ftruncate:
Coverage Program
4622 openat-fallocate-openat-pwritev-openat-ftruncate-ioctl$BTRFS_IOC_GET_SUBVOL_ROOTREF-perf_event_open-pipe-openat$procfs-perf_event_open-pipe-dup2-ioctl$NS_GET_PARENT-ioctl$BTRFS_IOC_GET_SUBVOL_INFO-ioctl$BTRFS_IOC_GET_SUBVOL_ROOTREF-perf_event_open-ioctl$AUTOFS_IOC_READY-ioctl$EXT4_IOC_MOVE_EXT
3915 openat-truncate-openat-mmap-ftruncate
2696 ioperm-openat-ftruncate
2659 perf_event_open-openat-fcntl$setlease-setfsuid-ftruncate
2545 socket$netlink-sendmsg$netlink-syz_mount_image$vfat-chdir-openat-openat-pwrite64-openat-ftruncate
1905 syz_mount_image$vfat-chdir-openat-openat-pwrite64-openat-ftruncate
1899 ioctl$KDGKBLED-perf_event_open-perf_event_open-socket$inet_udp-bind$inet-ftruncate-syz_open_procfs-pread64-socket$packet-socket$nl_audit-bind$packet
1768 openat-lsetxattr$security_evm-ftruncate
1293 openat-openat-write$binfmt_script-openat-unlink-ftruncate
966 socket$netlink-syz_mount_image$vfat-chdir-openat-openat-pwrite64-openat-ftruncate
373 memfd_create-write$binfmt_elf64-ftruncate
301 memfd_create-ftruncate-ftruncate
294 openat-openat-ioctl$FS_IOC_SETFLAGS-ftruncate
278 memfd_create-ftruncate-ftruncate
263 memfd_create-ftruncate
251 close_range-memfd_create-ftruncate
235 memfd_create-fcntl$addseals-ftruncate
225 openat$tcp_congestion-ftruncate
222 memfd_secret-mmap$IORING_OFF_SQ_RING-ftruncate
218 memfd_secret-ftruncate-ftruncate
210 memfd_create-fcntl$addseals-ftruncate
195 memfd_create-ftruncate
134 getpid-pidfd_open-ftruncate
36 openat-ioctl$FS_IOC_SETFLAGS-ftruncate
7 ftruncate