WSL2-Linux-Kernel/tools/include/nolibc
Willy Tarreau e3bb44beaf tools/nolibc: fix the O_* fcntl/open macro definitions for riscv
[ Upstream commit 00b18da408 ]

When RISCV port was imported in 5.2, the O_* macros were taken with
their octal value and written as-is in hex, resulting in the getdents64()
to fail in nolibc-test.

Fixes: 582e84f7b7 ("tool headers nolibc: add RISCV support") #5.2
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-18 11:48:56 +01:00
..
arch-aarch64.h tools/nolibc: Remove .global _start from the entry point code 2023-01-18 11:48:56 +01:00
arch-arm.h tools/nolibc: Remove .global _start from the entry point code 2023-01-18 11:48:56 +01:00
arch-i386.h tools/nolibc: Remove .global _start from the entry point code 2023-01-18 11:48:56 +01:00
arch-mips.h tools/nolibc: restore mips branch ordering in the _start block 2023-01-18 11:48:56 +01:00
arch-riscv.h tools/nolibc: fix the O_* fcntl/open macro definitions for riscv 2023-01-18 11:48:56 +01:00
arch-x86_64.h tools/nolibc: Remove .global _start from the entry point code 2023-01-18 11:48:56 +01:00
arch.h tools/nolibc/arch: split arch-specific code into individual files 2023-01-18 11:48:55 +01:00
nolibc.h tools/nolibc/arch: split arch-specific code into individual files 2023-01-18 11:48:55 +01:00
std.h tools/nolibc/std: move the standard type definitions to std.h 2023-01-18 11:48:55 +01:00
types.h tools/nolibc/types: split syscall-specific definitions into their own files 2023-01-18 11:48:55 +01:00