CHROMIUM: alt-syscall: fallocate emulation.
Some dependent library directly uses the fallocate system call,
which is not supported on some file system, such as ecryptfs.
Because we use ecryptfs, it needs to be emulated using ftruncate,
which is supported on the file system.
TEST=Ran on x86_64 and arm test devices.
Commit-Ready: Hidehiko Abe <email@example.com>
Tested-by: Hidehiko Abe <firstname.lastname@example.org>
Reviewed-by: Kazuhiro Inaba <email@example.com>
Reviewed-by: Junichi Uekawa <firstname.lastname@example.org>
Reviewed-by: Dylan Reid <email@example.com>
(cherry picked from commit 675becfa942005b40cd417da181815e47434774b)
(cherry picked from commit 2111d26af549efcff8f01908148309df2cef08af)
Trybot-Ready: Hidehiko Abe <firstname.lastname@example.org>
Commit-Queue: Hidehiko Abe <email@example.com>
1 file changed