...ystem calls were not designed to handle large file offsets. Consequently, Linux 2.4 added truncate64 () and ftruncate64 () system calls that handle large files. However, these d…...ystem calls were not designed to handle large file offsets. Consequently, Linux 2.4 added truncate64 () and ftruncate64 () system calls that handle large files. However, these d…...ystem calls were not designed to handle large file offsets. Consequently, Linux 2.4 added truncate64 () and ftruncate64 () system calls that handle large files. However, these d…...ystem calls were not designed to handle large file offsets. Consequently, Linux 2.4 added truncate64 () and ftruncate64 () system calls that handle large files. However, these d…...wadays there are (for reasons described below) two related system calls, truncate (2) and truncate64 (2), and the glibc truncate () wrapper function checks which of those system…...layer to hide the issue from user space. The affected system calls are fadvise64_64 (2), ftruncate64 (2), posix_fadvise (2), pread64 (2), pwrite64 (2), readahead (2), sync_file_…