[PATCH] linux: Use stat_overflow to check overflow in fstatat

Stafford Horne shorne@gmail.com
Fri Jan 29 22:25:52 GMT 2021


On Wed, Jan 27, 2021 at 10:28:58AM -0300, Adhemerval Zanella wrote:
> 
> 
> On 27/01/2021 09:40, Stafford Horne wrote:
> > Ping Adhemerval on this one.
> > 
> > I still thing the below is needed for the STAT_IS_KERNEL_STAT
> > cases.
> > 
> 
> Why OpenRISC is not setting XSTAT_IS_XSTAT64 ? As a possible newer
> ABI, I see no pointing in support old non-LFS ABI.

I got it all working without this patch after:

  - Setting XSTAT_IS_XSTAT64 and a few other kernel_stats.h
  - Updating my shlib-version to 2.33

Note to myself in glibc LFS stands for Large File System. I see that in many
parts of the stats code but couldn't find the actual acronym explained, I found
it in the manual, it was hard to search for on the internet.

Thanks.

-Stafford


More information about the Libc-alpha mailing list