Re: [LTP] [PATCH v2 1/7] Add fallback definitions for lapi/fs.h

Cyril Hrubis
2024-07-25T09:18:48Z

Hi!
> Theoretically, we can remove it because that problem is addressed in
> Glibc-2.37 by:
>
>
> https://github.com/kraj/glibc/commit/774058d72942249f71d74e7f2b639f77184160a6
>
> It is essentially a glibc bug we don't need to fix that in LTP.
>
> We ever discussed in
> https://lists.linux.it/pipermail/ltp/2023-March/033138.html
>
> However, if we want LTP could be built with all the middle glibc versions
> (2.22 < glibc < 2.36)
> this might be thinking over. Because we announce support the minimal
> glibc-version is 2.22.

That does sound like we will need the workaround for quite some time.

Or maybe give up on including linux/fs.h and stick to the libc headers.

--
Cyril Hrubis
chrubis@suse.cz