]> git.ipfire.org Git - thirdparty/linux.git/commit
tools/nolibc: use 64-bit off_t
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 29 Oct 2025 16:02:54 +0000 (17:02 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Thu, 20 Nov 2025 18:46:57 +0000 (19:46 +0100)
commite800e9446867c78eeccb790de68375d4fe77ab65
tree350316a0d54e5b84edd3560f9f75b6b8b868fe74
parent19c5a681b2262fe30c027aefb3df637f69df140f
tools/nolibc: use 64-bit off_t

The kernel uses 64-bit values for file offsets.
Currently these might be truncated to 32-bit when assigned to
nolibc's off_t values.

Switch to 64-bit off_t consistently.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/lkml/cec27d94-c99d-4c57-9a12-275ea663dda8@app.fastmail.com/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
tools/include/nolibc/std.h