Re: [PATCH 0/3] tools/nolibc: add support for ftruncate()

From: Thomas Weißschuh

Date: Fri May 22 2026 - 10:49:32 EST


On 2026-05-22 17:48:49+0900, Daniel Palmer wrote:
> On Fri, 22 May 2026 at 02:31, Thomas Weißschuh <linux@xxxxxxxxxxxxxx> wrote:
> > Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
> > ---
> > Daniel Palmer (1):
> > tools/nolibc: add a helper to split a 64-bit argument into 32-bit halves
> >
> > Thomas Weißschuh (2):
> > selftests/nolibc: enable CONFIG_TMPFS for sparc32
> > tools/nolibc: add ftruncate()
> >
> > tools/include/nolibc/arch-arm.h | 10 +++++
> > tools/include/nolibc/arch-mips.h | 12 ++++++
> > tools/include/nolibc/arch-powerpc.h | 12 ++++++
> > tools/include/nolibc/sys.h | 11 ++++++
> > tools/include/nolibc/unistd.h | 24 ++++++++++++
> > tools/testing/selftests/nolibc/Makefile.nolibc | 1 +
> > tools/testing/selftests/nolibc/nolibc-test.c | 52 ++++++++++++++++++++++++++
> > 7 files changed, 122 insertions(+)
> > ---
> > base-commit: 136ca91411b0b637e862eb7b1cce2a56853edd17
> > change-id: 20260318-nolibc-ftruncate-063a0ee7e2bf
> >
> > Best regards,
> > --
> > Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
> >
>
> This looks good to me. I'll rebase my fallocate() stuff on this.
>
> FWIW:
>
> Acked-by: Daniel Palmer <daniel@xxxxxxxxx>

Thanks!

Acked-by is for maintainers to use on changes within their subsystems.
I'll make this a Reviewed-by instead. Yell at me if you object.


Thomas