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 <firstname.lastname@example.org>
Tested-by: Hidehiko Abe <email@example.com>
Reviewed-by: Kazuhiro Inaba <firstname.lastname@example.org>
Reviewed-by: Junichi Uekawa <email@example.com>
Reviewed-by: Dylan Reid <firstname.lastname@example.org>
(cherry picked from commit 675becfa942005b40cd417da181815e47434774b)
(cherry picked from commit 2111d26af549efcff8f01908148309df2cef08af)
Trybot-Ready: Hidehiko Abe <email@example.com>
Commit-Queue: Hidehiko Abe <firstname.lastname@example.org>
1 file changed