9pfuse: Non-portable value for O_LARGEFILE
O_LARGEFILE is always #defined to
0100000 on Linux, whereas it is instead
0400000 for arm and arm64 (as set by
arch/arm/include/uapi/asm/fcntl.h in the kernel sources). Unfortunately, a few other architectures also use different values.
Hence, 9pfuse complains about invalid open(2) flags:
unexpected open flags 02444000 ls: cannot open directory .: Permission denied
unexpected open flags 0400000 zsh: permission denied: file