mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-25 16:15:21 +00:00
The statx manpage [1] shows that it has been supported from Linux 4.11
and glibc 2.28, the Linux support can be checked for all of the
architectures with this command:
$ git grep -r statx v4.11 arch/ include/uapi/asm-generic/unistd.h \
| grep -E "aarch64|arm|mips|s390|x86|:include/uapi"
Besides riscv and loongarch, all of the nolibc supported architectures
have added sys_statx from Linux v4.11. riscv is mainlined to v4.15,
loongarch is mainlined to v5.19, both of them use the generic unistd.h,
so, they have added sys_statx from their first mainline versions.
The current oldest stable branch is v4.14, only reserving sys_statx
still preserves compatibility with all of the supported stable branches,
So, let's remove the old arch related and dependent sys_stat support
completely.
This is friendly to the future new architecture porting.
[1]: https://man7.org/linux/man-pages/man2/statx.2.html
Signed-off-by: Zhangjin Wu <falcon@tinylab.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| arch-aarch64.h | ||
| arch-arm.h | ||
| arch-i386.h | ||
| arch-loongarch.h | ||
| arch-mips.h | ||
| arch-riscv.h | ||
| arch-s390.h | ||
| arch-x86_64.h | ||
| arch.h | ||
| compiler.h | ||
| ctype.h | ||
| errno.h | ||
| Makefile | ||
| nolibc.h | ||
| signal.h | ||
| stackprotector.h | ||
| std.h | ||
| stdint.h | ||
| stdio.h | ||
| stdlib.h | ||
| string.h | ||
| sys.h | ||
| time.h | ||
| types.h | ||
| unistd.h | ||