Re: [PATCH v3 0/2] nolibc: Add fallocate()

From: Thomas Weißschuh

Date: Sun May 03 2026 - 12:21:54 EST


On 2026-05-01 01:41:23+0900, Daniel Palmer wrote:
> While poking around with my "static PIE for nommu" series I found
> I needed fallocate(). Implementing it turned out a bit more
> interesting than I thought it would be due to how the offset and
> size need to be passed on 32bit machines.
>
> v3:
> - Reworked the test a bit, ran it on all the targets I could get
> to run (s390, loongarch and sh currently don't work for me).

Can you elaborate on what is broken?

> sparc32 doesn't seem to support fallocate() so made it skip
> the test.
> - Rebase on nolibc/for-next with the large file support bits.

(...)